aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/create.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/create.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/create.tmpl')
-rw-r--r--templates/repo/create.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index ad795387df..8e4e0c748b 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -20,18 +20,18 @@
<input type="hidden" id="uid" name="uid" value="{{.ContextUser.ID}}" required>
<span class="text" title="{{.ContextUser.Name}}">
{{avatar .ContextUser 28 "mini"}}
- {{.ContextUser.ShortName 20}}
+ {{.ContextUser.ShortName 40}}
</span>
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
<div class="menu">
<div class="item" data-value="{{.SignedUser.ID}}" title="{{.SignedUser.Name}}">
{{avatar .SignedUser 28 "mini"}}
- {{.SignedUser.ShortName 20}}
+ {{.SignedUser.ShortName 40}}
</div>
{{range .Orgs}}
<div class="item" data-value="{{.ID}}" title="{{.Name}}">
{{avatar . 28 "mini"}}
- {{.ShortName 20}}
+ {{.ShortName 40}}
</div>
{{end}}
</div>