diff options
Diffstat (limited to 'templates/repo/issue')
-rw-r--r-- | templates/repo/issue/view.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index bf253291f8..39d3b77017 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -6,7 +6,7 @@ <div class="column"> {{template "repo/issue/navbar" .}} </div> - {{if not .Repository.IsArchived}} + {{if and (not .Repository.IsArchived) (not .Issue.IsPull)}} <div class="column right aligned"> {{if .PageIsIssueList}} <a class="ui green button" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{.i18n.Tr "repo.issues.new"}}</a> |