Commit 4b01e287 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Add container to qrtly reconciliation banner

Changelog: fixed
EE: true
parent 20b95750
...@@ -2,14 +2,15 @@ ...@@ -2,14 +2,15 @@
- return unless payload&.display? - return unless payload&.display?
= content_for :page_level_alert do = content_for :page_level_alert do
= render 'shared/global_alert', %div{ class: [container_class, @content_class, 'gl-pt-5!'] }
title: payload.subject, = render 'shared/global_alert',
variant: payload.display_error_version? ? :danger : :warning, title: payload.subject,
alert_class: 'gl-my-5', variant: payload.display_error_version? ? :danger : :warning,
alert_data: { testid: 'manual-quarterly-co-term-banner' }, alert_class: 'gl-my-5',
dismissible: false do alert_data: { testid: 'manual-quarterly-co-term-banner' },
.gl-alert-body dismissible: false do
= payload.body .gl-alert-body
.gl-alert-actions = payload.body
= link_to s_('SubscriptionBanner|Export license usage file'), admin_license_usage_export_path(format: :csv), class: 'btn gl-alert-action gl-button btn-confirm' .gl-alert-actions
= link_to s_('SubscriptionBanner|Upload new license'), new_admin_license_path, class: 'btn gl-alert-action gl-button btn-default' = link_to s_('SubscriptionBanner|Export license usage file'), admin_license_usage_export_path(format: :csv), class: 'btn gl-alert-action gl-button btn-confirm'
= link_to s_('SubscriptionBanner|Upload new license'), new_admin_license_path, class: 'btn gl-alert-action gl-button btn-default'
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