{% if region is defined %} {% else %} {% set region = '' %} {% endif %} {% extends "::layout"~region~".html.twig" %} {% set pageMainTabs = "shopping" %} {% set menuNoCurrent = true %} {% if item.presentation.logo is defined and item.presentation.logo is not null %} {% set header_image = "http://" ~ picthost ~ "/" ~ boutique.presentation.logo.webPath %} {% endif %} {% if boutique.presentation.presentation is defined and boutique.presentation.presentation is not null %} {% set header_description= boutique.presentation.presentation %} {% endif %} {% 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 %}
{% if nav_minisite is defined and nav_minisite|length > 0 %} {% endif %} {% block sidebar %}

Présentation

{% if boutique.presentation.presentation is defined and boutique.presentation.presentation is not null %} {{ boutique.presentation.presentation|replace({'':'[/script]'})|raw }}{% endif %}

Infos utiles

{% if boutique.presentation.tel is defined and boutique.presentation.tel is not null %} {{ boutique.presentation.tel|totel }} {% endif %}

{% if boutique.presentation.horaires is defined and boutique.presentation.horaires is not null %}
{% if boutique.presentation.imgHoraire is defined and boutique.presentation.imgHoraire is not null %} {{boutique.presentation.imgHoraire.name}} {% else %}

Horaires d'ouverture

{% set horaire = boutique.presentation.horaires|tohoraire %}

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 %}

{% endif %}
{% endif %} {% if (boutique.presentation.services is defined) and (boutique.presentation.services is not null) %} {% if (boutique.presentation.services|length > 0)

Services proposés

{% for item in boutique.presentation.services %} {{ item.name }}{% if loop.last != true %}, {% endif %} {% endfor %}

{% endif %} {% endif %}

Comment y aller ?

Voir le plan
{% endblock %} {% block content %}
{% if boutique.presentation.image %}
    {% for img in boutique.presentation.images %}
  • {% endfor %}
{% endif %}
{% for fiche in boutique.presentation.fiches.toArray|reverse %} {% if fiche.etat %}
{% if fiche.image %} image {{ fiche.titre }} {% else %} image présentation {% endif %}

{{ fiche.titre }}

{{ fiche.description[:350]|striptags|replace({'':'[/script]'})|raw }}...

Lire plus
{% endif %} {% endfor %}
{% endblock %}
{% endblock %} {% block append_javascript %} {% endblock %}