浏览代码

Merge pull request 'feat; isprivate not caculate' (#156) from is_private into develop

Reviewed-by: palytoxin <sxty32@126.com>
master
berry 4 年前
父节点
当前提交
006c4c990a
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      templates/repo/sub_menu.tmpl

+ 2
- 0
templates/repo/sub_menu.tmpl 查看文件

@@ -13,9 +13,11 @@
<div class="item">
<a class="ui" href="#">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a>
</div>
{{if (not .IsPrivate)}}
<div class="item">
<a class="ui" href="#">{{svg "octicon-desktop-download" 16}} <b>{{.Repository.CloneCnt}} {{.i18n.Tr "repo.clone_cnt" }}</b></a>
</div>
{{end}}
{{end}}
</div>
</div>


正在加载...
取消
保存