This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Merge pull request 'feat; isprivate not caculate' (
#156
) from is_private into develop
Reviewed-by: palytoxin <sxty32@126.com>
master
berry
4 years ago
parent
83fc592203
4cbd1a52c7
commit
006c4c990a
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
templates/repo/sub_menu.tmpl
+ 2
- 0
templates/repo/sub_menu.tmpl
View File
@@ -13,9 +13,11 @@
<div class="item">
<div class="item">
<a class="ui" href="#">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a>
<a class="ui" href="#">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a>
</div>
</div>
{{if (not .IsPrivate)}}
<div class="item">
<div class="item">
<a class="ui" href="#">{{svg "octicon-desktop-download" 16}} <b>{{.Repository.CloneCnt}} {{.i18n.Tr "repo.clone_cnt" }}</b></a>
<a class="ui" href="#">{{svg "octicon-desktop-download" 16}} <b>{{.Repository.CloneCnt}} {{.i18n.Tr "repo.clone_cnt" }}</b></a>
</div>
</div>
{{end}}
{{end}}
{{end}}
</div>
</div>
</div>
</div>
Write
Preview
Loading…
Cancel
Save