diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index d1b73a9b0..35f9b86b8 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -13,9 +13,11 @@
{{svg "octicon-database" 16}} {{SizeFmt .Repository.Size}}
+ {{if (not .IsPrivate)}}
{{svg "octicon-desktop-download" 16}} {{.Repository.CloneCnt}} {{.i18n.Tr "repo.clone_cnt" }}
+ {{end}} {{end}}