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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
pull/11905/head^2
Cirno the Strongest 4 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>
</div>
<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>
{{end}}
</div>

Loading…
Cancel
Save