summaryrefslogtreecommitdiffstats
path: root/templates/user
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-04-17 15:49:56 +0100
committertechknowlogick <matti@mdranta.net>2019-04-17 10:49:56 -0400
commitbdbbd816fc9de6e071b24b1d3dd10e2822d498c0 (patch)
treee9aba9597bc7dac653a20b9936828f6765deeab2 /templates/user
parentcf0a9a04a9171a0e490454f113d544a8383ff6de (diff)
downloadgitea-bdbbd816fc9de6e071b24b1d3dd10e2822d498c0.tar.gz
gitea-bdbbd816fc9de6e071b24b1d3dd10e2822d498c0.zip
Add more title attributes on shortened names (#6647)
Diffstat (limited to 'templates/user')
-rw-r--r--templates/user/dashboard/navbar.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index a9898ee912..25c45325a6 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -3,7 +3,7 @@
<div class="item">
<div class="ui floating dropdown link jump">
<span class="text">
- <img class="ui avatar image" src="{{.ContextUser.RelAvatarLink}}">
+ <img class="ui avatar image" src="{{.ContextUser.RelAvatarLink}}" title="{{.ContextUser.Name}}">
{{.ContextUser.ShortName 20}}
<i class="dropdown icon"></i>
</span>
@@ -17,7 +17,7 @@
{{.SignedUser.Name}}
</a>
{{range .Orgs}}
- <a class="{{if eq $.ContextUser.ID .ID}}active selected{{end}} item" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else}}dashboard{{end}}">
+ <a class="{{if eq $.ContextUser.ID .ID}}active selected{{end}} item" title="{{.Name}}" href="{{AppSubUrl}}/org/{{.Name}}/{{if $.PageIsIssues}}issues{{else if $.PageIsPulls}}pulls{{else}}dashboard{{end}}">
<img class="ui avatar image" src="{{.RelAvatarLink}}">
{{.ShortName 20}}
</a>
@@ -44,7 +44,7 @@
<i class="octicon octicon-git-pull-request"></i>&nbsp;{{.i18n.Tr "pull_requests"}}
</a>
<div class="item">
- <a class="ui blue basic button" href="{{.ContextUser.HomeLink}}">
+ <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)}}
</a>
</div>