aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Praet <jimmy.praet@ksz-bcss.fgov.be>2020-12-08 22:18:02 +0100
committerGitHub <noreply@github.com>2020-12-08 16:18:02 -0500
commit1a372e5b21ab084678b0471e0f1c0fea9e3d023d (patch)
tree916b6f51d6cd4d4806e17998104fdce709929d3c /templates
parent6a370363d4f2c9ff0a766fc1c97fd39b2b8fc8b4 (diff)
downloadgitea-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.tmpl2
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>