summaryrefslogtreecommitdiffstats
path: root/templates/repo/migrate/git.tmpl
diff options
context:
space:
mode:
authorvnkmpf <t.z@mail.com>2021-02-09 20:51:01 +0100
committerGitHub <noreply@github.com>2021-02-09 19:51:01 +0000
commit3a4801d1958ce33c9b893433c096281aa5b9b1c5 (patch)
treebe43c76ff7a7f52368fcb0dc46b8c1773a127c07 /templates/repo/migrate/git.tmpl
parentb337c606d3669b3e2f9b805d6c74b593d6271414 (diff)
downloadgitea-3a4801d1958ce33c9b893433c096281aa5b9b1c5.tar.gz
gitea-3a4801d1958ce33c9b893433c096281aa5b9b1c5.zip
Truncated organisations name #14583 (#14615)
- truncate to max length 40 - add CSS ellipsis
Diffstat (limited to 'templates/repo/migrate/git.tmpl')
-rw-r--r--templates/repo/migrate/git.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/migrate/git.tmpl b/templates/repo/migrate/git.tmpl
index 7fb8f3d585..f200281cbe 100644
--- a/templates/repo/migrate/git.tmpl
+++ b/templates/repo/migrate/git.tmpl
@@ -49,18 +49,18 @@
<input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required>
<span class="text" title="{{.ContextUser.Name}}">
{{avatar .ContextUser}}
- {{.ContextUser.ShortName 20}}
+ {{.ContextUser.ShortName 40}}
</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu" title="{{.SignedUser.Name}}">
<div class="item" data-value="{{.SignedUser.ID}}">
{{avatar .SignedUser}}
- {{.SignedUser.ShortName 20}}
+ {{.SignedUser.ShortName 40}}
</div>
{{range .Orgs}}
<div class="item" data-value="{{.ID}}" title="{{.Name}}">
{{avatar .}}
- {{.ShortName 20}}
+ {{.ShortName 40}}
</div>
{{end}}
</div>