Browse Source

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

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
for-closed-social
Cirno the Strongest 4 years ago
committed by GitHub
parent
commit
80a3745fc8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/sub_menu.tmpl

+ 1
- 1
templates/repo/sub_menu.tmpl View File

@ -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