diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl index da0de4d..c3a73f5 100644 --- a/templates/repo/issue/list.tmpl +++ b/templates/repo/issue/list.tmpl @@ -13,17 +13,17 @@
{{if .PageIsIssueList}} {{if .IsSigned}} - {{.i18n.Tr "repo.issues.new"}} - {{end}} + {{.locale.Tr "repo.issues.new"}} + {{end}} Helpdesk {{else}} - {{.i18n.Tr "repo.pulls.new"}} + {{.locale.Tr "repo.pulls.new"}} {{end}}
{{else}} {{if not .PageIsIssueList}}
- {{$.i18n.Tr "action.compare_commits_general"}} + {{$.locale.Tr "action.compare_commits_general"}}
{{end}} {{end}} @@ -31,6 +31,12 @@
+ {{if $.CanWriteIssuesOrPulls}} +
+ + +
+ {{end}} {{template "repo/issue/openclose" .}}
@@ -38,14 +44,18 @@ @@ -53,13 +63,37 @@ + + + @@ -67,13 +101,17 @@