From f87fec5730db544f75c745ef6147558d5d75b16a Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 9 Oct 2011 15:39:59 +0200 Subject: [PATCH] =?UTF-8?q?horaires=20d'ouverture=20modifi=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/public/shared/_contact_block.html.haml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app/views/public/shared/_contact_block.html.haml b/app/views/public/shared/_contact_block.html.haml index f32c7b3..2ea3fbf 100644 --- a/app/views/public/shared/_contact_block.html.haml +++ b/app/views/public/shared/_contact_block.html.haml @@ -4,15 +4,18 @@ #horaires.content Horaires d'ouverture pour cette semaine : %br - -if (Date.today.cweek).to_i%2 == 0 - =render :partial => "/public/shared/odd" - -else - =render :partial => "/public/shared/even" + =raw "- le lundi de 14h à 19h" + %br + =raw"- du mardi au vendredi : 8h30 à 12h15 et 14h à 19h" + %br + =raw"- le samedi : 8h30 à 12h15" + %br + %br - =link_to "Horaires pour la semaine prochaine", "#next_week", :rel => "prettyPhoto", :title => "" + #next_week{:style => "display:none"} %div{:style => "padding:1px"}