Commit dcdb6883 authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'fix-renewal-banner-on-mobile' into 'master'

Fix subscribable banner layout on mobile

See merge request gitlab-org/gitlab!50972
parents 498a0e18 db1cebbd
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%button.gl-alert-dismiss{ type: 'button', 'aria-label' => 'Dismiss', data: { track_event: 'click_button', track_label: 'dismiss_subscribable_banner' } } %button.gl-alert-dismiss{ type: 'button', 'aria-label' => 'Dismiss', data: { track_event: 'click_button', track_label: 'dismiss_subscribable_banner' } }
= sprite_icon('close', css_class: 'gl-icon js-close') = sprite_icon('close', css_class: 'gl-icon js-close')
.gl-display-flex.gl-flex-direction-row .gl-display-flex.gl-flex-direction-row
.gl-pr-6.gl-pl-5.gl-pt-3 .gl-pr-6.gl-pl-5.gl-pt-3.gl-display-none.gl-display-sm-block
- if subscribable.expired? - if subscribable.expired?
- if subscribable.block_changes? - if subscribable.block_changes?
= image_tag('illustrations/subscription-downgraded.svg') = image_tag('illustrations/subscription-downgraded.svg')
...@@ -21,5 +21,5 @@ ...@@ -21,5 +21,5 @@
- if subscribable.block_changes? - if subscribable.block_changes?
= link_to _('Upgrade your plan'), 'https://customers.gitlab.com/subscriptions/my_renewal', class: 'btn gl-button btn-primary', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'upgrade' } = link_to _('Upgrade your plan'), 'https://customers.gitlab.com/subscriptions/my_renewal', class: 'btn gl-button btn-primary', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'upgrade' }
- else - else
= link_to _('Renew subscription'), 'https://customers.gitlab.com/subscriptions/my_renewal', class: 'btn gl-button btn-primary', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'renew' } = link_to _('Renew subscription'), 'https://customers.gitlab.com/subscriptions/my_renewal', class: 'btn gl-button btn-primary gl-mr-3 gl-mb-2', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'renew' }
= link_to _('That is ok, I do not want to renew'), '#', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'thats_ok' }, 'aria-label' => 'Dismiss', class: 'btn gl-button btn-info btn-info-secondary gl-ml-3 js-close' = link_to _('That is ok, I do not want to renew'), '#', data: { track_event: 'click_text', track_label: 'subscribable_action', track_property: 'thats_ok' }, 'aria-label' => 'Dismiss', class: 'btn gl-button btn-info btn-info-secondary js-close gl-mb-2'
---
title: Fix subscribable banner on mobile
merge_request: 50972
author: Kev @KevSlashNull
type: fixed
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