Remove New PR button in PRs (#15998)

tokarchuk/v1.17
Kyle D 4 years ago committed by GitHub
parent fb6c6895fa
commit 2a998048ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/issue/view.tmpl

@ -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…
Cancel
Save