debian-mirror-gitlab/app/views/ci/variables/_header.html.haml
2022-07-29 14:03:07 +02:00

10 lines
306 B
Text

- expanded = local_assigns.fetch(:expanded)
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
= _('Variables')
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
= expanded ? _('Collapse') : _('Expand')
%p
= render "ci/variables/content"