Make repository size unclickable on repo summary bar (#11887)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
tokarchuk/v1.17
Cirno the Strongest 5 years ago committed by GitHub
parent cdef92b3ff
commit 80a3745fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/sub_menu.tmpl

@ -11,7 +11,7 @@
<a class="ui" href="{{.RepoLink}}/branches/">{{svg "octicon-git-branch" 16}} <b>{{.BranchesCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .BranchesCount "repo.branch" "repo.branches") }}</a> <a class="ui" href="{{.RepoLink}}/branches/">{{svg "octicon-git-branch" 16}} <b>{{.BranchesCount}}</b> {{.i18n.Tr (TrN .i18n.Lang .BranchesCount "repo.branch" "repo.branches") }}</a>
</div> </div>
<div class="item"> <div class="item">
<a class="ui" href="#">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a> <span class="ui">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a>
</div> </div>
{{end}} {{end}}
</div> </div>

Loading…
Cancel
Save