Skip to content

Commit fe8ae36

Browse files
committed
Fix the repository options page not displaying pull request options
Signed-off-by: Julian Picht <[email protected]>
1 parent 161500b commit fe8ae36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/settings/options.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
{{.i18n.Tr "repo.settings.advanced_settings"}}
110110
</h4>
111111
<div class="ui attached segment">
112-
{{if and (not .Service.EnableWiki) (not .Service.EnableIssues)}}
112+
{{if and (not .Service.EnableWiki) (not .Service.EnableIssues) (not .Repository.CanEnablePulls)}}
113113
<div class="inline field">
114114
<label>{{.i18n.Tr "repo.wiki.disabled"}}</label>
115115
</div>

0 commit comments

Comments
 (0)