diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index b2e701998..02bfc6731 100755 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -528,10 +528,10 @@ func RegisterRoutes(m *macaron.Macaron) { m.Group("/projectboard", func() { m.Get("/restoreFork", adminReq, repo.RestoreForkNumber) - + m.Get("/downloadAll", adminReq, repo.ServeAllProjectsPeriodStatisticsFile) m.Group("/project", func() { m.Get("", adminReq, repo.GetAllProjectsPeriodStatistics) - m.Get("/download", adminReq, repo.ServeAllProjectsPeriodStatisticsFile) + m.Group("/:id", func() { m.Get("", adminReq, repo.GetProjectLatestStatistics) m.Get("/period", adminReq, repo.GetProjectPeriodStatistics) diff --git a/templates/home.tmpl b/templates/home.tmpl index 4ed285954..4e0fb5735 100755 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -37,7 +37,11 @@

在这里为你和你的团队创建项目,基于Git工具,提交记录或者回滚代码修改。
不论是公开或者私有仓库,都可免费使用所有功能。
尽情将你喜欢的代码都放在这里,仓库数量、存储容量不受限

- 立即使用 + {{if .IsSigned}} + 立即使用 + {{else}} + 立即使用 + {{end}}
@@ -188,7 +192,12 @@ 开发者可以根据使用需求,自由选择相应计算资源,可以测试模型在不同硬件环境下的适配能力、性能、稳定性等
如果您的模型需要更多的计算资源,也可以单独申请

- 马上使用 单独申请 + {{if .IsSigned}} + 立即使用 单独申请 + {{else}} + 立即使用 单独申请 + {{end}} +
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 36683ca9b..287cba47c 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -4,7 +4,7 @@
-