add strike banner
This commit is contained in:
parent
0046338e6a
commit
8688671439
3 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
|
6
app/views/layouts/_strike_banner.html.haml
Normal file
6
app/views/layouts/_strike_banner.html.haml
Normal 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.
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in a new issue