summaryrefslogtreecommitdiffstats
path: root/templates/repo/sub_menu.tmpl
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-16 03:45:17 +0200
committerGitHub <noreply@github.com>2020-06-15 21:45:17 -0400
commit80a3745fc84c033ef4f00c0539b865c0da54442f (patch)
tree2edd5e57bfbbdb78fca81b1ab99d3bd28a3dce76 /templates/repo/sub_menu.tmpl
parentcdef92b3ffc7dcbc0f4ee26f7f973ca2b28fea61 (diff)
downloadgitea-80a3745fc84c033ef4f00c0539b865c0da54442f.tar.gz
gitea-80a3745fc84c033ef4f00c0539b865c0da54442f.zip
Make repository size unclickable on repo summary bar (#11887)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/repo/sub_menu.tmpl')
-rw-r--r--templates/repo/sub_menu.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl
index cd000d4744..c8e447f9b5 100644
--- a/templates/repo/sub_menu.tmpl
+++ b/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>