diff options
Diffstat (limited to 'templates/repo')
-rw-r--r-- | templates/repo/create.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate.tmpl | 8 | ||||
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index ebaa5965fa..07a9c0919d 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -71,7 +71,7 @@ </div> <div class="inline field"> <label>{{.i18n.Tr "repo.license"}}</label> - <div class="ui selection dropdown"> + <div class="ui search selection dropdown"> <input type="hidden" name="license" value="{{.license}}"> <div class="default text">{{.i18n.Tr "repo.license_helper"}}</div> <div class="menu"> diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl index c1ed2110af..222b275006 100644 --- a/templates/repo/migrate.tmpl +++ b/templates/repo/migrate.tmpl @@ -36,22 +36,22 @@ <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}} <div class="item" data-value="{{.Id}}"> <img class="ui mini image" src="{{.AvatarLink}}"> - {{.Name}} + {{.ShortName 20}} </div> {{end}} </div> diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index c991511020..26009edb69 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -29,7 +29,7 @@ <div class="inline field ui left"> <div id="search-user-box"> <div class="ui input"> - <input class="prompt" name="collaborator" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off"> + <input class="prompt" name="collaborator" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" required> </div> <div class="ui segment results hide"></div> </div> |