demarches-normaliennes/app/views/layouts/_pre_maintenance.html.haml
2023-05-09 17:14:23 +02:00

14 lines
441 B
Text

- if ENV['BANNER_MESSAGE'].present?
.site-banner.warning
.container
= sanitize(ENV['BANNER_MESSAGE'])
- if ENV['ADMINISTRATION_BANNER_MESSAGE'].present? && instructeur_signed_in?
.site-banner.warning
.container
= sanitize(ENV['ADMINISTRATION_BANNER_MESSAGE'])
- if ENV['USAGER_BANNER_MESSAGE'].present? && !instructeur_signed_in?
.site-banner.warning
.container
= sanitize(ENV['USAGER_BANNER_MESSAGE'])