Migrate license alert to shared HAML template

parent 224284bb
...@@ -13,10 +13,12 @@ ...@@ -13,10 +13,12 @@
%hr %hr
- if License.future_dated_only? - if License.future_dated_only?
.gl-alert.gl-alert-info = render 'shared/global_alert',
= sprite_icon('information-o', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') title: _('You do not have an active license'),
variant: :info,
is_contained: true,
dismissible: false do
.gl-alert-body .gl-alert-body
%h4.gl-alert-title= _('You do not have an active license')
= _('You have a license that activates at a future date. Please see the License History table below.') = _('You have a license that activates at a future date. Please see the License History table below.')
- if @license.present? - if @license.present?
......
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