diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-03-18 21:28:39 -0500 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-03-18 22:28:39 -0400 |
commit | 0b94f106f88a5cfa4a8eacb4b56e3b6be7d4b58f (patch) | |
tree | 5d6a294c392e43d0c41a52ff7cc2b0e3b5c2a665 | |
parent | d1c982cb731a0744e2a8e0863b46ff9e99c99b63 (diff) | |
download | gitea-0b94f106f88a5cfa4a8eacb4b56e3b6be7d4b58f.tar.gz gitea-0b94f106f88a5cfa4a8eacb4b56e3b6be7d4b58f.zip |
Add title attributes to all items in the repo list viewer (#6258)
-rw-r--r-- | templates/repo/view_list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index f4bc93cffd..089221480c 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -65,7 +65,7 @@ {{$subJumpablePathName := $entry.GetSubJumpablePathName}} {{$subJumpablePath := SubJumpablePath $subJumpablePathName}} <span class="octicon octicon-file-directory"></span> - <a href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}"> + <a href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}" title="{{$subJumpablePathName}}"> {{if eq (len $subJumpablePath) 2}} <span class="jumpable-path">{{index $subJumpablePath 0}}</span>{{index $subJumpablePath 1}} {{else}} @@ -74,7 +74,7 @@ </a> {{else}} <span class="octicon octicon-{{EntryIcon $entry}}"></span> - <a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}">{{$entry.Name}}</a> + <a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a> {{end}} </td> {{end}} |