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 @@
- return unless payload&.display?
= content_for :page_level_alert do
= render 'shared/global_alert',
title: payload.subject,
variant: payload.display_error_version? ? :danger : :warning,
alert_class: 'gl-my-5',
alert_data: { testid: 'manual-quarterly-co-term-banner' },
dismissible: false do
.gl-alert-body
= payload.body
.gl-alert-actions
= 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'
%div{ class: [container_class, @content_class, 'gl-pt-5!'] }
= render 'shared/global_alert',
title: payload.subject,
variant: payload.display_error_version? ? :danger : :warning,
alert_class: 'gl-my-5',
alert_data: { testid: 'manual-quarterly-co-term-banner' },
dismissible: false do
.gl-alert-body
= payload.body
.gl-alert-actions
= 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