{% if region is defined %} {% else %} {% set region = '' %} {% endif %} {% extends "::layout"~region~".html.twig" %} {% set pageMainTabs = "shopping" %} {% set menuNoCurrent = true %} {% if boutique.presentation.logo is not null %} {% set header_image = "http://" ~ picthost ~ "/" ~ boutique.presentation.logo.webPath %} {% endif %} {% set header_description= boutique.presentation.presentation %} {% set header_pagename = boutique.nom %} {% block title %} {{ boutique.nom }} - {{ boutique.motcles }} - {{ boutique.address1 }} {{ boutique.cp }} {{ boutique.ville }} {% endblock %} {% block subHeader %} {% include 'YOUBoutiqueBundle:Default:header.html.twig' %} {% endblock %} {% block container %}
{{ boutique.presentation.presentation|replace({'':'[/script]'})|raw }}
Infos utiles
{{ boutique.presentation.tel|totel }}
{% if boutique.presentation.horaires %}Lundi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 1 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Mardi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 2 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Mercredi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 3 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Jeudi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 4 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Vendredi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 5 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Samedi :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 6 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
Dimanche :
{% set number=0 %}
{% for tranche in horaire.tranches %}
{% if tranche.day == 7 %}
{% set number=number+1 %}
{{ tranche.startH|totime~"h"~tranche.startM|totime }} - {{ tranche.endH|totime~"h"~tranche.endM|totime }}
{% endif %}
{% endfor %}
{% if number == 0 %}Fermé{% endif %}
{% for item in boutique.presentation.services %} {{ item.name }}{% if loop.last != true %}, {% endif %} {% endfor %}