Merge pull request #5545 from betagouv/variabilize_banner_message
variabilize banner message
This commit is contained in:
commit
8d87f60291
2 changed files with 2 additions and 8 deletions
|
@ -1,9 +1,4 @@
|
|||
- if feature_enabled?(:pre_maintenance_mode)
|
||||
- if ENV['BANNER_MESSAGE'].present?
|
||||
.site-banner.warning
|
||||
.container
|
||||
.site-banner-icon 🕚
|
||||
.site-banner-text
|
||||
%strong
|
||||
Une opération de maintenance est prévue sur #{APPLICATION_NAME} à 23 h 00.
|
||||
%br
|
||||
La plateforme sera inaccessible pendant une vingtaine de minutes.
|
||||
= sanitize(ENV['BANNER_MESSAGE'])
|
||||
|
|
|
@ -34,7 +34,6 @@ features = [
|
|||
:maintenance_mode,
|
||||
:mini_profiler,
|
||||
:operation_log_serialize_subject,
|
||||
:pre_maintenance_mode,
|
||||
:xray,
|
||||
:carte_ign,
|
||||
:localization
|
||||
|
|
Loading…
Reference in a new issue