Skip to content
Snippets Groups Projects
Commit 716373a6 authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt
Browse files

Migrate license alert to shared HAML template

parent 224284bb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -13,10 +13,12 @@
%hr
 
- if License.future_dated_only?
.gl-alert.gl-alert-info
= sprite_icon('information-o', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
= render 'shared/global_alert',
title: _('You do not have an active license'),
variant: :info,
is_contained: true,
dismissible: false do
.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.')
 
- if @license.present?
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment