]> source.dussan.org Git - gitea.git/commitdiff
Allow 20 characters for "View [organization]" button (#13906)
authorJimmy Praet <jimmy.praet@ksz-bcss.fgov.be>
Tue, 8 Dec 2020 21:18:02 +0000 (22:18 +0100)
committerGitHub <noreply@github.com>
Tue, 8 Dec 2020 21:18:02 +0000 (16:18 -0500)
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>
templates/user/dashboard/navbar.tmpl

index 030219c81650a932e6236f9b002125632b8981d9..d80ac2e88a275f23c884f40b4d8255c71bc8eac4 100644 (file)
@@ -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>