Skip to content

Commit

Permalink
Remove New PR button in PRs (#15998)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdumontnu committed May 29, 2021
1 parent fb6c689 commit 2a99804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 2a99804

Please sign in to comment.