diff options
author | zeripath <art27@cantab.net> | 2019-04-17 15:49:56 +0100 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-04-17 10:49:56 -0400 |
commit | bdbbd816fc9de6e071b24b1d3dd10e2822d498c0 (patch) | |
tree | e9aba9597bc7dac653a20b9936828f6765deeab2 /templates/repo/home.tmpl | |
parent | cf0a9a04a9171a0e490454f113d544a8383ff6de (diff) | |
download | gitea-bdbbd816fc9de6e071b24b1d3dd10e2822d498c0.tar.gz gitea-bdbbd816fc9de6e071b24b1d3dd10e2822d498c0.zip |
Add more title attributes on shortened names (#6647)
Diffstat (limited to 'templates/repo/home.tmpl')
-rw-r--r-- | templates/repo/home.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 13fa9de0c4..f94f0f2104 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -70,7 +70,7 @@ </div> {{end}} {{else}} - <div class="fitted item"><span class="ui breadcrumb repo-path"><a class="section" href="{{.RepoLink}}/src/{{EscapePound .BranchNameSubURL}}">{{EllipsisString .Repository.Name 30}}</a>{{range $i, $v := .TreeNames}}<span class="divider">/</span>{{if eq $i $l}}<span class="active section">{{EllipsisString $v 30}}</span>{{else}}{{ $p := index $.Paths $i}}<span class="section"><a href="{{EscapePound $.BranchLink}}/{{EscapePound $p}}">{{EllipsisString $v 30}}</a></span>{{end}}{{end}}</span></div> + <div class="fitted item"><span class="ui breadcrumb repo-path"><a class="section" href="{{.RepoLink}}/src/{{EscapePound .BranchNameSubURL}}" title="{{.Repository.Name}}">{{EllipsisString .Repository.Name 30}}</a>{{range $i, $v := .TreeNames}}<span class="divider">/</span>{{if eq $i $l}}<span class="active section" title="{{$v}}">{{EllipsisString $v 30}}</span>{{else}}{{ $p := index $.Paths $i}}<span class="section"><a href="{{EscapePound $.BranchLink}}/{{EscapePound $p}}" title="{{$v}}">{{EllipsisString $v 30}}</a></span>{{end}}{{end}}</span></div> {{end}} <div class="right fitted item" id="file-buttons"> <div class="ui tiny blue buttons"> |