Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/repo/settings/options.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
</div>
</div>

{{if .Repository.CanEnablePulls}}
{{if and (not .IsMirror) (.Repository.UnitEnabled $.UnitTypePullRequests)}}
Comment thread
lafriks marked this conversation as resolved.
<div class="ui divider"></div>
{{$pullRequestEnabled := .Repository.UnitEnabled $.UnitTypePullRequests}}
{{$prUnit := .Repository.MustGetUnit $.UnitTypePullRequests}}
Expand Down