Skip to content

Commit 2a99804

Browse files
authored
Remove New PR button in PRs (#15998)
1 parent fb6c689 commit 2a99804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="column">
77
{{template "repo/issue/navbar" .}}
88
</div>
9-
{{if not .Repository.IsArchived}}
9+
{{if and (not .Repository.IsArchived) (not .Issue.IsPull)}}
1010
<div class="column right aligned">
1111
{{if .PageIsIssueList}}
1212
<a class="ui green button" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{.i18n.Tr "repo.issues.new"}}</a>

0 commit comments

Comments
 (0)