Skip to content

Commit 1a372e5

Browse files
jpraet6543
andauthored
Allow 20 characters for "View [organization]" button (go-gitea#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 <[email protected]>
1 parent 6a37036 commit 1a372e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/dashboard/navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
{{end}}
6060
<div class="item">
6161
<a class="ui blue basic button" href="{{.ContextUser.HomeLink}}" title='{{.i18n.Tr "home.view_home" .ContextUser.Name}}'>
62-
{{.i18n.Tr "home.view_home" (.ContextUser.ShortName 10)}}
62+
{{.i18n.Tr "home.view_home" (.ContextUser.ShortName 20)}}
6363
</a>
6464
</div>
6565
</div>

0 commit comments

Comments
 (0)