Commit ce37eecf authored by Rubén Dávila's avatar Rubén Dávila

Show all notifications regarding to the license at the top of the page

parent c70c499e
- if license_message.present? && !current_license.trial?
.broadcast-message
= icon('bullhorn')
= license_message
- BroadcastMessage.current&.each do |message| - BroadcastMessage.current&.each do |message|
= broadcast_message(message) = broadcast_message(message)
- if current_license&.trial? && license_message.present? - if license_message.present?
.alert.alert-dismissible.gitlab-ee-trial-banner.hidden.js-gitlab-ee-trial-banner{ role: 'alert', data: { license_expiry: current_license.expires_at }} .alert.alert-dismissible.gitlab-ee-trial-banner.hidden.js-gitlab-ee-trial-banner{ role: 'alert', data: { license_expiry: current_license.expires_at } }
%button.close{ type: 'button', 'data-dismiss' => 'alert', 'aria-label' => 'Dismiss banner' } %button.close{ type: 'button', 'data-dismiss' => 'alert', 'aria-label' => 'Dismiss banner' }
= icon('times', 'aria-hidden' => 'true') = icon('times', 'aria-hidden' => 'true')
%p %p
......
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