Commit ab400e57 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'btn-confirm-shared-members' into 'master'

Move from btn-success to btn-confirm in shared/members directory

See merge request gitlab-org/gitlab!55315
parents 6c9c3b7e 9f1701c8
......@@ -23,4 +23,4 @@
.clearable-input
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date-groups', placeholder: _('Expiration date'), id: 'expires_at_groups'
= sprite_icon('close', size: 16, css_class: 'clear-icon js-clear-input gl-text-gray-200')
= submit_tag _("Invite"), class: "btn btn-success", data: { qa_selector: 'invite_group_button' }
= submit_tag _("Invite"), class: "gl-button btn btn-confirm gl-mr-3", data: { qa_selector: 'invite_group_button' }
......@@ -23,6 +23,6 @@
.clearable-input
= text_field_tag :expires_at, nil, class: 'form-control js-access-expiration-date', placeholder: 'Expiration date'
= sprite_icon('close', size: 16, css_class: 'clear-icon js-clear-input gl-text-gray-200')
= submit_tag _("Invite"), class: "gl-button btn btn-success", data: { qa_selector: 'invite_member_button' }
= submit_tag _("Invite"), class: "gl-button btn btn-confirm gl-mr-3", data: { qa_selector: 'invite_member_button' }
- if can_import_members
= link_to _("Import"), import_path, class: "gl-button btn btn-default", title: _("Import members from another project")
......@@ -107,7 +107,7 @@
- if member.can_approve?
= link_to polymorphic_path([:approve_access_request, member]),
method: :post,
class: "btn btn-success btn-icon gl-button align-self-center m-0 mb-2 #{'mb-sm-0 ml-sm-2' unless force_mobile_view}",
class: "btn btn-confirm btn-icon gl-button align-self-center m-0 mb-2 #{'mb-sm-0 ml-sm-2' unless force_mobile_view}",
title: _('Grant access') do
%span{ class: ('d-block d-sm-none' unless force_mobile_view) }
= _('Grant access')
......
---
title: Move from btn-success to btn-confirm in shared/members directory
merge_request: 55315
author: Yogi (@yo)
type: changed
......@@ -81,7 +81,7 @@ RSpec.describe 'Project > Members > Invite group and members', :js do
select2 group_to_share_with.id, from: '#link_group_id'
page.find('body').click
find('.btn-success').click
find('.btn-confirm').click
click_link 'Groups'
......@@ -123,7 +123,7 @@ RSpec.describe 'Project > Members > Invite group and members', :js do
select2 group_to_share_with.id, from: '#link_group_id'
page.find('body').click
find('.btn-success').click
find('.btn-confirm').click
click_link 'Groups'
......
......@@ -51,7 +51,7 @@ RSpec.describe 'Project > Members > Invite group', :js do
select2 group_to_share_with.id, from: '#link_group_id'
page.find('body').click
find('.btn-success').click
find('.btn-confirm').click
click_link 'Groups'
......@@ -73,7 +73,7 @@ RSpec.describe 'Project > Members > Invite group', :js do
select2 group_to_share_with.id, from: '#link_group_id'
page.find('body').click
find('.btn-success').click
find('.btn-confirm').click
click_link 'Groups'
......@@ -159,7 +159,7 @@ RSpec.describe 'Project > Members > Invite group', :js do
fill_in 'expires_at_groups', with: 5.days.from_now.strftime('%Y-%m-%d')
click_on 'invite-group-tab'
find('.btn-success').click
find('.btn-confirm').click
end
context 'when `vue_project_members_list` feature flag is enabled' do
......
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