diff options
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 2e00023..34c0175 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -92,12 +92,14 @@ <a class="{{if .PageIsCommits}}active{{end}} item" href="{{.RepoLink}}/commits{{if .IsViewBranch}}/branch{{else if .IsViewTag}}/tag{{else if .IsViewCommit}}/commit{{end}}/{{EscapePound .BranchName}}"> + <i class="octicon octicon-clock"></i> {{.i18n.Tr "repo.commits"}} <span class="ui small label">{{or .CommitsCount "0"}}</span> </a> <a class="{{if .PageIsBranches}}active{{end}} item" href="{{.RepoLink}}/branches/"> + <i class="octicon octicon-git-branch"></i> {{.i18n.Tr "repo.branches"}} <span class="ui small label">{{or .BranchesCount "0"}}</span> </a> |