File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4
4
<div class="ui two horizontal center link list">
5
5
{{if and (.Permission.CanRead $.UnitTypeCode) (not .IsEmptyRepo)}}
6
6
<div class="item{{if .PageIsCommits}} active{{end}}">
7
- <a class="ui" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}">{{svg "octicon-history"}} <b>{{.CommitsCount}}</b> {{.locale.TrN .CommitsCount "repo.commit" "repo.commits"}}</a>
7
+ <a class="ui" href="{{.RepoLink}}/commits/{{.BranchNameSubURL}}">{{svg "octicon-history"}} <b>{{JsPrettyNumber .CommitsCount}}</b> {{.locale.TrN .CommitsCount "repo.commit" "repo.commits"}}</a>
8
8
</div>
9
9
<div class="item{{if .PageIsBranches}} active{{end}}">
10
10
<a class="ui" href="{{.RepoLink}}/branches">{{svg "octicon-git-branch"}} <b>{{.BranchesCount}}</b> {{.locale.TrN .BranchesCount "repo.branch" "repo.branches"}}</a>
You can’t perform that action at this time.
0 commit comments