This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
wangwei
/
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
show download cnt in repo page (git-update-pack)
tags/v1.21.12.1
palytoxin
4 years ago
parent
23e05b4b05
commit
8588070e25
3 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
options/locale/locale_en-US.ini
+1
-0
options/locale/locale_zh-CN.ini
+3
-0
templates/repo/sub_menu.tmpl
+ 1
- 0
options/locale/locale_en-US.ini
View File
@@ -747,6 +747,7 @@ cloudbrain=cloudbrain
cloudbrain.new=New cloudbrain
cloudbrain.desc=cloudbrain
cloudbrain.cancel=Cancel
clone_cnt=download
template.items = Template Items
template.git_content = Git Content (Default Branch)
+ 1
- 0
options/locale/locale_zh-CN.ini
View File
@@ -753,6 +753,7 @@ cloudbrain.new=新建任务
cloudbrain.desc=云脑功能
cloudbrain.cancel=取消
cloudbrain.commit_image=提交
clone_cnt=次下载
template.items=模板选项
template.git_content=Git数据(默认分支)
+ 3
- 0
templates/repo/sub_menu.tmpl
View File
@@ -13,6 +13,9 @@
<div class="item">
<a class="ui" href="#">{{svg "octicon-database" 16}} <b>{{SizeFmt .Repository.Size}}</b></a>
</div>
<div class="item">
<a class="ui" href="#">{{svg "octicon-desktop-download" 16}} <b>{{.Repository.CloneCnt}} {{.i18n.Tr "repo.clone_cnt" }}</b></a>
</div>
{{end}}
</div>
</div>
Write
Preview
Loading…
Cancel
Save