remove coronavirus banner

This commit is contained in:
simon lehericey 2021-04-06 12:03:22 +02:00
parent d2045913ae
commit 1715a4899f
3 changed files with 0 additions and 17 deletions

View file

@ -1,8 +0,0 @@
#strike-banner.site-banner
.container
.site-banner-icon ⚠️
.site-banner-text
%strong
En raison de lépidémie du coronavirus, les services fonctionnent en mode dégradé.
%br
Les délais de prise en charge des dossiers ou de réponses aux questions pourront être perturbés durant cette période.

View file

@ -3,14 +3,6 @@
- dossier = controller.try(:dossier_for_help)
- procedure = controller.try(:procedure_for_help)
-# only display the coronavirus to usagers (instructeurs know there are delays) when they are logged in, or on the public pages.
- if user_signed_in?
- if dossier.present? && dossier.procedure.feature_enabled?(:coronavirus_banner)
= render partial: 'layouts/coronavirus_banner'
- else
- if procedure.present? && procedure.feature_enabled?(:coronavirus_banner)
= render partial: 'layouts/coronavirus_banner'
%header.new-header{ class: current_page?(root_path) ? nil : "new-header-with-border", role: 'banner' }
.header-inner-content

View file

@ -28,7 +28,6 @@ features = [
:administrateur_routage,
:administrateur_web_hook,
:carte_ign,
:coronavirus_banner,
:dossier_pdf_vide,
:expert_not_allowed_to_invite,
:hide_instructeur_email,