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 @@
-
+
{{.i18n.Tr "repo.issues"}}
/
{{.Title | RenderEmoji}}
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl
index b8f68e025..366dd373a 100755
--- a/templates/repo/issue/milestone_issues.tmpl
+++ b/templates/repo/issue/milestone_issues.tmpl
@@ -4,7 +4,7 @@
-
+
{{.i18n.Tr "repo.issues"}}
/
{{.i18n.Tr "repo.milestones"}}
diff --git a/templates/repo/issue/milestone_new.tmpl b/templates/repo/issue/milestone_new.tmpl
index 6f17f1b71..8d2befcb9 100644
--- a/templates/repo/issue/milestone_new.tmpl
+++ b/templates/repo/issue/milestone_new.tmpl
@@ -4,7 +4,7 @@
-
+
{{.i18n.Tr "repo.issues"}}
/
{{.i18n.Tr "repo.milestones"}}
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl
index 850402fd2..9546d376e 100644
--- a/templates/repo/issue/milestones.tmpl
+++ b/templates/repo/issue/milestones.tmpl
@@ -4,7 +4,7 @@
-
+
{{.i18n.Tr "repo.issues"}}
/
{{.Title | RenderEmoji}}
diff --git a/templates/repo/issue/new.tmpl b/templates/repo/issue/new.tmpl
index 398fa5e63..0568b99c1 100644
--- a/templates/repo/issue/new.tmpl
+++ b/templates/repo/issue/new.tmpl
@@ -4,7 +4,7 @@
-
+
{{.i18n.Tr "repo.issues"}}
/
{{.i18n.Tr "repo.issues.new"}}
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl
index 8deaeb924..7bd1ca73e 100644
--- a/templates/repo/issue/view.tmpl
+++ b/templates/repo/issue/view.tmpl
@@ -5,13 +5,13 @@
{{if .PageIsIssueList}}
-
+
{{else}}
-
+
{{.i18n.Tr "repo.pulls"}}
/
{{.i18n.Tr "repo.issues_detail"}}
diff --git a/templates/repo/pulls/commits.tmpl b/templates/repo/pulls/commits.tmpl
index 1dba43b84..fa8b3c058 100644
--- a/templates/repo/pulls/commits.tmpl
+++ b/templates/repo/pulls/commits.tmpl
@@ -10,7 +10,7 @@
-->
-
+
{{.i18n.Tr "repo.pulls"}}
/
{{.i18n.Tr "repo.issues_detail"}}
diff --git a/templates/repo/pulls/files.tmpl b/templates/repo/pulls/files.tmpl
index bb9fafca9..c59c6d059 100644
--- a/templates/repo/pulls/files.tmpl
+++ b/templates/repo/pulls/files.tmpl
@@ -10,7 +10,7 @@
-->