13 lines
517 B
Text
13 lines
517 B
Text
|
- expanded = expanded_by_default?
|
||
|
|
||
|
%section.settings.no-animate#branch-rules{ class: ('expanded' if expanded) }
|
||
|
.settings-header
|
||
|
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only= _('Branch rules')
|
||
|
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
|
||
|
= expanded ? _('Collapse') : _('Expand')
|
||
|
%p
|
||
|
= _('Define rules for who can push, merge, and the required approvals for each branch.')
|
||
|
|
||
|
.settings-content.gl-pr-0
|
||
|
#js-branch-rules
|