debian-mirror-gitlab/app/views/ci/variables/_header.html.haml
2023-03-04 22:38:38 +05:30

10 lines
356 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", entity: @entity, variable_limit: @variable_limit