Skip to content

Commit

Permalink
Fix the repository options page not displaying pull request options
Browse files Browse the repository at this point in the history
Signed-off-by: Julian Picht <julian.picht@gmail.com>
  • Loading branch information
jpicht committed Aug 7, 2019
1 parent 161500b commit fe8ae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/settings/options.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
{{.i18n.Tr "repo.settings.advanced_settings"}}
</h4>
<div class="ui attached segment">
{{if and (not .Service.EnableWiki) (not .Service.EnableIssues)}}
{{if and (not .Service.EnableWiki) (not .Service.EnableIssues) (not .Repository.CanEnablePulls)}}
<div class="inline field">
<label>{{.i18n.Tr "repo.wiki.disabled"}}</label>
</div>
Expand Down

0 comments on commit fe8ae36

Please sign in to comment.