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 @@
.settings-header
%h4
= _('Amazon EKS')
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand'
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _('Amazon EKS integration allows you to provision EKS clusters from GitLab.')
......
......@@ -5,7 +5,7 @@
.settings-header
%h4
= _('Sourcegraph')
%button.btn.btn-default.js-settings-toggle{ type: 'button' }
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
- link_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: 'https://sourcegraph.com/' }
......
......@@ -6,7 +6,7 @@
.settings-header
%h4
= _('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')
%p
= _('Set default and restrict visibility levels. Configure import sources and git access protocol.')
......@@ -17,7 +17,7 @@
.settings-header
%h4
= _('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')
%p
= _('Set projects and maximum size limits, session duration, user options, and check feature availability for namespace plan.')
......@@ -28,7 +28,7 @@
.settings-header
%h4
= _('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')
%p
= _('Diff content limits')
......@@ -39,7 +39,7 @@
.settings-header
%h4
= _('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')
%p
= _('Configure the way a user creates a new account.')
......@@ -50,7 +50,7 @@
.settings-header
%h4
= _('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')
%p
= _('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 @@
.settings-header
%h4
= _('Slack application')
%button.btn.gl-button.js-settings-toggle{ type: 'button' }
= expanded ? 'Collapse' : 'Expand'
%button.btn.gl-button.btn-default.js-settings-toggle{ type: 'button' }
= expanded ? _('Collapse') : _('Expand')
%p
= _('Slack integration allows you to interact with GitLab via slash commands in a chat window.')
.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