diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/create.tmpl | 6 | ||||
-rw-r--r-- | templates/repo/pulls/fork.tmpl | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index 183da494ca..ebaa5965fa 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -15,18 +15,18 @@ <input type="hidden" id="uid" name="uid" value="{{.ContextUser.Id}}" required> <span class="text"> <img class="ui mini image" src="{{.ContextUser.AvatarLink}}"> - {{.ContextUser.Name}} + {{.ContextUser.ShortName 20}} </span> <i class="dropdown icon"></i> <div class="menu"> <div class="item" data-value="{{.SignedUser.Id}}"> <img class="ui mini image" src="{{.SignedUser.AvatarLink}}"> - {{.SignedUser.Name}} + {{.SignedUser.ShortName 20}} </div> {{range .Orgs}} <div class="item" data-value="{{.Id}}"> <img class="ui mini image" src="{{.AvatarLink}}"> - {{.Name}} + {{.ShortName 20}} </div> {{end}} </div> diff --git a/templates/repo/pulls/fork.tmpl b/templates/repo/pulls/fork.tmpl index c3e8e1e52c..b2f857dac6 100644 --- a/templates/repo/pulls/fork.tmpl +++ b/templates/repo/pulls/fork.tmpl @@ -11,23 +11,23 @@ {{template "base/alert" .}} <div class="inline required field {{if .Err_Owner}}error{{end}}"> <label>{{.i18n.Tr "repo.owner"}}</label> - <div class="ui selection dropdown"> + <div class="ui selection owner dropdown"> <input type="hidden" id="uid" name="uid" value="{{.ContextUser.Id}}" required> <span class="text"> <img class="ui mini image" src="{{.ContextUser.AvatarLink}}"> - {{.ContextUser.Name}} + {{.ContextUser.ShortName 20}} </span> <i class="dropdown icon"></i> <div class="menu"> <div class="item" data-value="{{.SignedUser.Id}}"> <img class="ui mini image" src="{{.SignedUser.AvatarLink}}"> - {{.SignedUser.Name}} + {{.SignedUser.ShortName 20}} </div> {{range .Orgs}} {{if .IsOwnedBy $.SignedUser.Id}} <div class="item" data-value="{{.Id}}"> <img class="ui mini image" src="{{.AvatarLink}}"> - {{.Name}} + {{.ShortName 20}} </div> {{end}} {{end}} |