Remove New PR button in PRs (#15998)
This commit is contained in:
parent
fb6c6895fa
commit
2a998048ef
|
@ -6,7 +6,7 @@
|
||||||
<div class="column">
|
<div class="column">
|
||||||
{{template "repo/issue/navbar" .}}
|
{{template "repo/issue/navbar" .}}
|
||||||
</div>
|
</div>
|
||||||
{{if not .Repository.IsArchived}}
|
{{if and (not .Repository.IsArchived) (not .Issue.IsPull)}}
|
||||||
<div class="column right aligned">
|
<div class="column right aligned">
|
||||||
{{if .PageIsIssueList}}
|
{{if .PageIsIssueList}}
|
||||||
<a class="ui green button" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{.i18n.Tr "repo.issues.new"}}</a>
|
<a class="ui green button" href="{{.RepoLink}}/issues/new{{if .NewIssueChooseTemplate}}/choose{{end}}">{{.i18n.Tr "repo.issues.new"}}</a>
|
||||||
|
|
Loading…
Reference in a new issue