add strike banner

This commit is contained in:
Marc Bouvier 2023-01-19 01:16:59 +01:00 committed by Paul Chavard
parent 0046338e6a
commit 8688671439
3 changed files with 10 additions and 0 deletions

View file

@ -1,5 +1,7 @@
#main-container{ class: "col-xs-#{main_container_size}" }
.row
- if feature_enabled?(:team_on_strike)
= render partial: 'layouts/strike_banner'
= render partial: 'layouts/outdated_browser_banner'
= render partial: 'layouts/pre_maintenance'
.row

View file

@ -0,0 +1,6 @@
#strike-banner.site-banner
.container
.site-banner-icon ⚠️
.site-banner-text
%strong
En raison de la grève nationale interprofessionnelle, les délais de réponse au support pourront être allongés pendant les prochains jours.

View file

@ -38,6 +38,8 @@
%body{ { id: content_for(:page_id), class: browser.platform.ios? ? 'ios' : nil, data: { controller: 'turbo' } }.compact }
= render partial: 'layouts/skiplinks'
.page-wrapper
- if feature_enabled?(:team_on_strike)
= render partial: 'layouts/strike_banner'
= render partial: "layouts/outdated_browser_banner"
= render partial: 'layouts/pre_maintenance'