Commit 52ee4460 authored by David O'Regan's avatar David O'Regan

Merge branch '205484-02-project-settings-headers-cicd-ee' into 'master'

EE Project Settings CI/CD Headers Expand/Collapse [2/3]

See merge request gitlab-org/gitlab!54115
parents addf261d 915a0c21
- if @project.feature_available?(:auto_rollback) - if @project.feature_available?(:auto_rollback)
%section.settings.no-animate#auto-rollback-settings{ class: ('expanded' if expanded) } %section.settings.no-animate#auto-rollback-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
= _("Automatic deployment rollbacks") = _("Automatic deployment rollbacks")
%button.gl-button.btn-default.btn.js-settings-toggle{ type: 'button' } %button.gl-button.btn-default.btn.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%section.settings.no-animate#pipeline-subscriptions{ class: ('expanded' if expanded) } %section.settings.no-animate#pipeline-subscriptions{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
= _("Pipeline subscriptions") = _("Pipeline subscriptions")
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- if protected_environments_enabled?(@project) - if protected_environments_enabled?(@project)
%section.protected-environments-settings.settings.no-animate#js-protected-environments-settings{ class: ('expanded' if expanded) } %section.protected-environments-settings.settings.no-animate#js-protected-environments-settings{ class: ('expanded' if expanded) }
.settings-header .settings-header
%h4 %h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
= _('Protected environments') = _('Protected environments')
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
......
---
title: GitLab EE Project Settings CI/CD headers expand/collapse on click / tap
merge_request: 54115
author: Daniel Schömer
type: changed
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