mirror of
1
Fork 0

Remove New PR button in PRs (#15998)

This commit is contained in:
Kyle D 2021-05-29 08:00:02 -06:00 committed by GitHub
parent fb6c6895fa
commit 2a998048ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>