|
|
@@ -4,7 +4,7 @@ |
|
|
|
<div class="ui two horizontal center link list"> |
|
|
|
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}} |
|
|
|
<div class="item{{if .PageIsCommits}} active{{end}}"> |
|
|
|
<a class="ui" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}">{{svg "octicon-history"}} <b>{{.CommitsCount}}</b> {{.locale.TrN .CommitsCount "repo.commit" "repo.commits"}}</a> |
|
|
|
<a class="ui" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}">{{svg "octicon-history"}} <b>{{JsPrettyNumber .CommitsCount}}</b> {{.locale.TrN .CommitsCount "repo.commit" "repo.commits"}}</a> |
|
|
|
</div> |
|
|
|
<div class="item{{if .PageIsBranches}} active{{end}}"> |
|
|
|
<a class="ui" href="{{.RepoLink}}/branches">{{svg "octicon-git-branch"}} <b>{{.BranchesCount}}</b> {{.locale.TrN .BranchesCount "repo.branch" "repo.branches"}}</a> |