Merge pull request #5545 from betagouv/variabilize_banner_message

variabilize banner message
This commit is contained in:
LeSim 2020-09-08 17:14:16 +02:00 committed by GitHub
commit 8d87f60291
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 8 deletions

View file

@ -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'])

View file

@ -34,7 +34,6 @@ features = [
:maintenance_mode,
:mini_profiler,
:operation_log_serialize_subject,
:pre_maintenance_mode,
:xray,
:carte_ign,
:localization