Merge pull request #8463 from marc-bouvier/strike-banner
add strike banner
This commit is contained in:
commit
c62d83a7f5
3 changed files with 8 additions and 9 deletions
|
@ -1,9 +0,0 @@
|
|||
#main-container{ class: "col-xs-#{main_container_size}" }
|
||||
.row
|
||||
= render partial: 'layouts/outdated_browser_banner'
|
||||
= render partial: 'layouts/pre_maintenance'
|
||||
.row
|
||||
= render partial: 'layouts/flash_messages'
|
||||
.row
|
||||
= yield
|
||||
.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