BigW Consortium Gitlab

Commit 2579dcf5 by Mike Greiling Committed by Annabel Dunstone Gray

Resolve "Rename settings panel "close" action to "collapse" to avoid confusion"

parent 11716f31
......@@ -4,7 +4,7 @@ function expandSectionParent($section, $content) {
}
function expandSection($section) {
$section.find('.js-settings-toggle').text('Close');
$section.find('.js-settings-toggle').text('Collapse');
const $content = $section.find('.settings-content');
$content.addClass('expanded').off('scroll.expandSection').scrollTop(0);
......
......@@ -4,7 +4,7 @@
%h4
Deploy Keys
%button.btn.js-settings-toggle
= expanded ? 'Close' : 'Expand'
= expanded ? 'Collapse' : 'Expand'
%p
Deploy keys allow read-only or read-write (if enabled) access to your repository. Deploy keys can be used for CI, staging or production servers. You can create a deploy key or add an existing one.
.settings-content.no-animate{ class: ('expanded' if expanded) }
......
......@@ -7,7 +7,7 @@
%h4
Protected Branches
%button.btn.js-settings-toggle
= expanded ? 'Close' : 'Expand'
= expanded ? 'Collapse' : 'Expand'
%p
Keep stable branches secure and force developers to use merge requests.
.settings-content.no-animate{ class: ('expanded' if expanded) }
......
......@@ -7,7 +7,7 @@
%h4
Protected Tags
%button.btn.js-settings-toggle
= expanded ? 'Close' : 'Expand'
= expanded ? 'Collapse' : 'Expand'
%p
Limit access to creating and updating tags.
.settings-content.no-animate{ class: ('expanded' if expanded) }
......
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