From 2a998048efdf57a5ceacc9c6f4d2d6120494d2b7 Mon Sep 17 00:00:00 2001 From: Kyle D Date: Sat, 29 May 2021 08:00:02 -0600 Subject: [PATCH] Remove New PR button in PRs (#15998) --- templates/repo/issue/view.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view.tmpl b/templates/repo/issue/view.tmpl index bf253291f..39d3b7701 100644 --- a/templates/repo/issue/view.tmpl +++ b/templates/repo/issue/view.tmpl @@ -6,7 +6,7 @@
{{template "repo/issue/navbar" .}}
- {{if not .Repository.IsArchived}} + {{if and (not .Repository.IsArchived) (not .Issue.IsPull)}}
{{if .PageIsIssueList}} {{.i18n.Tr "repo.issues.new"}}