mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 06:07:52 +01:00
Show PR settings on empty repos (#12808)
Fix #12788 Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
4eb0a1dfaf
commit
7777017b43
@ -284,7 +284,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{if .Repository.CanEnablePulls}}
|
||||
{{if and (not .IsMirror) (.Repository.UnitEnabled $.UnitTypePullRequests)}}
|
||||
<div class="ui divider"></div>
|
||||
{{$pullRequestEnabled := .Repository.UnitEnabled $.UnitTypePullRequests}}
|
||||
{{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}}
|
||||
|
Loading…
Reference in New Issue
Block a user