mirror of https://github.com/go-gitea/gitea.git
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>
This commit is contained in:
parent
6a370363d4
commit
1a372e5b21
|
@ -59,7 +59,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<a class="ui blue basic button" href="{{.ContextUser.HomeLink}}" title='{{.i18n.Tr "home.view_home" .ContextUser.Name}}'>
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue