diff options
author | Jimmy Praet <jimmy.praet@ksz-bcss.fgov.be> | 2020-12-08 22:18:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 16:18:02 -0500 |
commit | 1a372e5b21ab084678b0471e0f1c0fea9e3d023d (patch) | |
tree | 916b6f51d6cd4d4806e17998104fdce709929d3c /templates | |
parent | 6a370363d4f2c9ff0a766fc1c97fd39b2b8fc8b4 (diff) | |
download | gitea-1a372e5b21ab084678b0471e0f1c0fea9e3d023d.tar.gz gitea-1a372e5b21ab084678b0471e0f1c0fea9e3d023d.zip |
Allow 20 characters for "View [organization]" button (#13906)
In the "View [organization]" button on the dashboard, the organization name is currenly shortened to 10 chars.
This is a bit too limited. In all other places in the code the name is also shortened to 20 instead of 10.
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/user/dashboard/navbar.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl index 030219c816..d80ac2e88a 100644 --- a/templates/user/dashboard/navbar.tmpl +++ b/templates/user/dashboard/navbar.tmpl @@ -59,7 +59,7 @@ {{end}} <div class="item"> <a class="ui blue basic button" href="{{.ContextUser.HomeLink}}" title='{{.i18n.Tr "home.view_home" .ContextUser.Name}}'> - {{.i18n.Tr "home.view_home" (.ContextUser.ShortName 10)}} + {{.i18n.Tr "home.view_home" (.ContextUser.ShortName 20)}} </a> </div> </div> |