gitlab-org--gitlab-foss/app/views/admin/application_settings/integrations.html.haml

33 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-09-18 04:42:11 -04:00
- breadcrumb_title _("Integrations")
- page_title _("Integrations")
- @content_class = "limit-container-width" unless fluid_layout
2018-09-19 06:57:57 -04:00
= render_if_exists 'admin/application_settings/elasticsearch_form', expanded: expanded_by_default?
2018-09-19 06:57:57 -04:00
%section.settings.as-plantuml.no-animate#js-plantuml-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('PlantUML')
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
2018-09-19 06:57:57 -04:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Allow rendering of PlantUML diagrams in Asciidoc documents.')
.settings-content
= render 'plantuml'
2018-09-19 06:57:57 -04:00
= render_if_exists 'admin/application_settings/slack', expanded: expanded_by_default?
2018-09-19 06:57:57 -04:00
%section.settings.as-third-party-offers.no-animate#js-third-party-offers-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
= _('Third party offers')
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
2018-09-19 06:57:57 -04:00
= expanded_by_default? ? _('Collapse') : _('Expand')
%p
= _('Control the display of third party offers.')
.settings-content
= render 'third_party_offers', application_setting: @application_setting
= render 'admin/application_settings/snowplow', expanded: expanded_by_default?
= render_if_exists 'admin/application_settings/pendo'