Commit 90e0d25e authored by Micaël Bergeron's avatar Micaël Bergeron

make the application settings EE-CE friendly

parent 376fed3c
......@@ -362,18 +362,6 @@
.settings-content
= render partial: 'elasticsearch_form'
- if Gitlab::CurrentSettings.pseudonymizer_can_be_configured?
%section.settings.as-pseudonymizer.no-animate#js-pseudonymizer-settings{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Pseudonymizer data collection')
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _('Enable or disable the Pseudonymizer data collection.')
.settings-content
= render 'pseudonymizer'
- if Gitlab.com? || Rails.env.development?
%section.settings.as-slack.no-animate#js-slack-settings{ class: ('expanded' if expanded) }
.settings-header
......@@ -385,3 +373,5 @@
= _('Geo allows you to replicate your GitLab instance to other geographical locations.')
.settings-content
= render partial: 'slack'
= render_if_exists 'pseudonymizer_settings'
- if Gitlab::CurrentSettings.pseudonymizer_can_be_configured?
%section.settings.as-pseudonymizer.no-animate#js-pseudonymizer-settings{ class: ('expanded' if expanded) }
.settings-header
%h4
= _('Pseudonymizer data collection')
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _('Enable or disable the Pseudonymizer data collection.')
.settings-content
= render 'pseudonymizer'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment