diff options
Diffstat (limited to 'templates/repo/pulls/fork.tmpl')
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index e02ee180f6..9cd84b3d44 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -12,20 +12,20 @@ <div class="inline required field {{if .Err_Owner}}error{{end}}"> <label>{{.i18n.Tr "repo.owner"}}</label> <div class="ui selection owner dropdown"> - <input type="hidden" id="uid" name="uid" value="{{.ContextUser.Id}}" required> + <input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required> <span class="text"> <img class="ui mini image" src="{{.ContextUser.AvatarLink}}"> {{.ContextUser.ShortName 20}} </span> <i class="dropdown icon"></i> <div class="menu"> - <div class="item" data-value="{{.SignedUser.Id}}"> + <div class="item" data-value="{{.SignedUser.ID}}"> <img class="ui mini image" src="{{.SignedUser.AvatarLink}}"> {{.SignedUser.ShortName 20}} </div> {{range .Orgs}} - {{if .IsOwnedBy $.SignedUser.Id}} - <div class="item" data-value="{{.Id}}"> + {{if .IsOwnedBy $.SignedUser.ID}} + <div class="item" data-value="{{.ID}}"> <img class="ui mini image" src="{{.AvatarLink}}"> {{.ShortName 20}} </div> |