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
|
.site-banner.warning
|
||||||
.container
|
.container
|
||||||
.site-banner-icon 🕚
|
= sanitize(ENV['BANNER_MESSAGE'])
|
||||||
.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.
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ features = [
|
||||||
:maintenance_mode,
|
:maintenance_mode,
|
||||||
:mini_profiler,
|
:mini_profiler,
|
||||||
:operation_log_serialize_subject,
|
:operation_log_serialize_subject,
|
||||||
:pre_maintenance_mode,
|
|
||||||
:xray,
|
:xray,
|
||||||
:carte_ign,
|
:carte_ign,
|
||||||
:localization
|
:localization
|
||||||
|
|
Loading…
Add table
Reference in a new issue