Remove New PR button in PRs (#15998)
This commit is contained in:
parent
fb6c6895fa
commit
2a998048ef
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue