put the strike banner behind a feature-flip

This commit is contained in:
clemkeirua 2020-01-06 15:25:43 +01:00
parent 71a3e464b4
commit 4f604c8b0a
2 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,7 @@
#main-container{ class: "col-xs-#{main_container_size}" }
.row
= render partial: 'layouts/strike_banner'
- 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

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