Skip to content

Commit 0b94f10

Browse files
jolheisertechknowlogick
authored andcommitted
Add title attributes to all items in the repo list viewer (#6258)
1 parent d1c982c commit 0b94f10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/repo/view_list.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
{{$subJumpablePathName := $entry.GetSubJumpablePathName}}
6666
{{$subJumpablePath := SubJumpablePath $subJumpablePathName}}
6767
<span class="octicon octicon-file-directory"></span>
68-
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}">
68+
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $subJumpablePathName}}" title="{{$subJumpablePathName}}">
6969
{{if eq (len $subJumpablePath) 2}}
7070
<span class="jumpable-path">{{index $subJumpablePath 0}}</span>{{index $subJumpablePath 1}}
7171
{{else}}
@@ -74,7 +74,7 @@
7474
</a>
7575
{{else}}
7676
<span class="octicon octicon-{{EntryIcon $entry}}"></span>
77-
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}">{{$entry.Name}}</a>
77+
<a href="{{EscapePound $.TreeLink}}/{{EscapePound $entry.Name}}" title="{{$entry.Name}}">{{$entry.Name}}</a>
7878
{{end}}
7979
</td>
8080
{{end}}

0 commit comments

Comments
 (0)