aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate/gogs.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/migrate/gogs.tmpl')
-rw-r--r--templates/repo/migrate/gogs.tmpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/repo/migrate/gogs.tmpl b/templates/repo/migrate/gogs.tmpl
index be66d5079d..ac81872b92 100644
--- a/templates/repo/migrate/gogs.tmpl
+++ b/templates/repo/migrate/gogs.tmpl
@@ -83,20 +83,20 @@
<label>{{.i18n.Tr "repo.owner"}}</label>
<div class="ui selection owner dropdown">
<input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required>
- <span class="text" title="{{.ContextUser.Name}}">
+ <span class="text truncated-item-container" title="{{.ContextUser.Name}}">
{{avatar .ContextUser}}
- {{.ContextUser.ShortName 40}}
+ <span class="truncated-item-name">{{.ContextUser.ShortName 40}}</span>
</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu" title="{{.SignedUser.Name}}">
- <div class="item" data-value="{{.SignedUser.ID}}">
+ <div class="item truncated-item-container" data-value="{{.SignedUser.ID}}">
{{avatar .SignedUser}}
- {{.SignedUser.ShortName 40}}
+ <span class="truncated-item-name">{{.SignedUser.ShortName 40}}</span>
</div>
{{range .Orgs}}
- <div class="item" data-value="{{.ID}}" title="{{.Name}}">
+ <div class="item truncated-item-container" data-value="{{.ID}}" title="{{.Name}}">
{{avatar .}}
- {{.ShortName 40}}
+ <span class="truncated-item-name">{{.ShortName 40}}</span>
</div>
{{end}}
</div>