Commit bbd1dd71 authored by Simon Knox's avatar Simon Knox

Merge branch '320731-move-to-btn-confirm-from-btn-primary' into 'master'

Move banners to btn-confirm from btn-primary

See merge request gitlab-org/gitlab!54811
parents a6ab81a5 3dada826
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
%p.mb-0 %p.mb-0
%span= _('Try all GitLab has to offer for 30 days.') %span= _('Try all GitLab has to offer for 30 days.')
%span.d-none.d-sm-inline= _('No credit card required.') %span.d-none.d-sm-inline= _('No credit card required.')
= link_to _('Start your trial'), new_trial_registration_path(glm_source: 'gitlab.com', glm_content: 'gold-callout'), class: "btn btn-primary mt-2 mt-sm-0 #{button_css_class}", target: '_blank' = link_to _('Start your trial'), new_trial_registration_path(glm_source: 'gitlab.com', glm_content: 'gold-callout'), class: "btn btn-confirm gl-button mt-2 mt-sm-0 #{button_css_class}", target: '_blank'
- if is_dismissable - if is_dismissable
%button.btn.btn-default.close.js-close{ type: 'button', %button.btn.btn-default.close.js-close{ type: 'button',
......
...@@ -19,7 +19,7 @@ describe('EE gitlab license banner dismiss', () => { ...@@ -19,7 +19,7 @@ describe('EE gitlab license banner dismiss', () => {
setFixtures(` setFixtures(`
<div class="js-gitlab-ee-license-banner"> <div class="js-gitlab-ee-license-banner">
<button class="js-close"></button> <button class="js-close"></button>
<a href="#" class="btn gl-button btn-primary"></a> <a href="#" class="btn gl-button btn-confirm"></a>
</div> </div>
`); `);
......
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