variabilize banner message
This commit is contained in:
parent
23019ce28a
commit
19d73f13f0
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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue