diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 9a93b63..814b6b9 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -161,47 +161,48 @@ .clear - =link_to add_banner_public_banners_path(), :remote => true, :onclick => "$('#banner').show();$('#small_banner').closest('#small_banner').hide();" do - #small_banner{:style => ("display:none;" if !session[:no_banner])} - =image_tag "/covid.png" - - #banner{:style => ("display:none;" if session[:no_banner])} - .banner_wrapper - .left + -if false + =link_to add_banner_public_banners_path(), :remote => true, :onclick => "$('#banner').show();$('#small_banner').closest('#small_banner').hide();" do + #small_banner{:style => ("display:none;" if !session[:no_banner])} =image_tag "/covid.png" - .right - %h4 Continuité de production - %p - %strong Jipé continue à produire - en prenant les mesures nécessaires pour - %strong - assurer la sécurité - de ses - %strong collaborateurs, - de ses - %strong prestataires - et - %strong fournisseurs. - %h4 Solutions d’urgence et pour l’après confinement - %p - Après avoir fourni des - %strong structures pour faire face à l’urgence, - nous pouvons - %strong dès maintenant - vous proposer des - %strong solutions pour gérer l’après confinement - (salles externes, douches de décontamination, sanitaires, lieux d’isolement…) + + #banner{:style => ("display:none;" if session[:no_banner])} + .banner_wrapper + .left + =image_tag "/covid.png" + .right + %h4 Continuité de production + %p + %strong Jipé continue à produire + en prenant les mesures nécessaires pour + %strong + assurer la sécurité + de ses + %strong collaborateurs, + de ses + %strong prestataires + et + %strong fournisseurs. + %h4 Solutions d’urgence et pour l’après confinement + %p + Après avoir fourni des + %strong structures pour faire face à l’urgence, + nous pouvons + %strong dès maintenant + vous proposer des + %strong solutions pour gérer l’après confinement + (salles externes, douches de décontamination, sanitaires, lieux d’isolement…) - %p.actions - =link_to "En savoir plus", "/fr/blog/covid-19-jipe-continue-a-produire-et-propose-des-solutions.html" + %p.actions + =link_to "En savoir plus", "/fr/blog/covid-19-jipe-continue-a-produire-et-propose-des-solutions.html" - =link_to "Nous contacter", "/fr/contact.html" + =link_to "Nous contacter", "/fr/contact.html" - .close_banner=link_to ic(:times)+" Ne plus afficher cette info", remove_banner_public_banners_path(), :remote => true, :onclick => "$(this).closest('#banner').hide();$('#small_banner').show();" - .clear + .close_banner=link_to ic(:times)+" Ne plus afficher cette info", remove_banner_public_banners_path(), :remote => true, :onclick => "$(this).closest('#banner').hide();$('#small_banner').show();" + .clear :scss .banner_wrapper{