Commit 50f16077 authored by Phil Hughes's avatar Phil Hughes

Merge branch 'btn-default-admin-general-settings' into 'master'

Add btn-default class for the settings toggle button

See merge request gitlab-org/gitlab!54764
parents 93bdc328 51f2d58d
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
.settings-header .settings-header
%h4 %h4
= _('Amazon EKS') = _('Amazon EKS')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand' = expanded ? _('Collapse') : _('Expand')
%p %p
= _('Amazon EKS integration allows you to provision EKS clusters from GitLab.') = _('Amazon EKS integration allows you to provision EKS clusters from GitLab.')
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
.settings-header .settings-header
%h4 %h4
= _('Sourcegraph') = _('Sourcegraph')
%button.btn.btn-default.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand') = expanded ? _('Collapse') : _('Expand')
%p %p
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: 'https://sourcegraph.com/' } - link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: 'https://sourcegraph.com/' }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.settings-header .settings-header
%h4 %h4
= _('Visibility and access controls') = _('Visibility and access controls')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Set default and restrict visibility levels. Configure import sources and git access protocol.') = _('Set default and restrict visibility levels. Configure import sources and git access protocol.')
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
.settings-header .settings-header
%h4 %h4
= _('Account and limit') = _('Account and limit')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Set projects and maximum size limits, session duration, user options, and check feature availability for namespace plan.') = _('Set projects and maximum size limits, session duration, user options, and check feature availability for namespace plan.')
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
.settings-header .settings-header
%h4 %h4
= _('Diff limits') = _('Diff limits')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Diff content limits') = _('Diff content limits')
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
.settings-header .settings-header
%h4 %h4
= _('Sign-up restrictions') = _('Sign-up restrictions')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Configure the way a user creates a new account.') = _('Configure the way a user creates a new account.')
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
.settings-header .settings-header
%h4 %h4
= _('Sign-in restrictions') = _('Sign-in restrictions')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded_by_default? ? _('Collapse') : _('Expand') = expanded_by_default? ? _('Collapse') : _('Expand')
%p %p
= _('Set requirements for a user to sign-in. Enable mandatory two-factor authentication.') = _('Set requirements for a user to sign-in. Enable mandatory two-factor authentication.')
......
---
title: Add btn-default class for settings toggle button
merge_request: 54764
author: Yogi (@yo)
type: changed
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
.settings-header .settings-header
%h4 %h4
= _('Slack application') = _('Slack application')
%button.btn.gl-button.js-settings-toggle{ type: 'button' } %button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand' = expanded ? _('Collapse') : _('Expand')
%p %p
= _('Slack integration allows you to interact with GitLab via slash commands in a chat window.') = _('Slack integration allows you to interact with GitLab via slash commands in a chat window.')
.settings-content .settings-content
......
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