Commit 33462cd4 by Damien Moulard

Merge branch '4423-wording-prestataires-one-more-change' into 'develop'

4423 : replace term prestataires by pts de vente in prestataires navigation menus

See merge request cooperatic/kohinos-tav!44
parents d07114fa 46b4da41
......@@ -2,7 +2,17 @@
{% block content %}
<div class='container prestalist mt-2'>
{% include '@kohinos/block/breadcrumb.html.twig' with {'label' : type, 'label2': 'Prestataires', 'url2': path('liste_prestataire', {'order': 'groupelocal'}) } %}
{% if type == 'Prestataires' and tav_env == 1 %}
{% set label = 'Points de vente' %}
{% else %}
{% set label = type %}
{% endif %}
{% if tav_env == 1 %}
{% set label2 = 'Points de vente' %}
{% else %}
{% set label2 = 'Prestataires' %}
{% endif %}
{% include '@kohinos/block/breadcrumb.html.twig' with {'label' : label, 'label2': label2, 'url2': path('liste_prestataire', {'order': 'groupelocal'}) } %}
{% if type == 'Prestataires' %}
<div class="d-flex justify-content-center">
<div class="btn-group text-center mb-2" role="group" aria-label="Basic example">
......
......@@ -2,7 +2,12 @@
{% block content %}
<div class='container prestalist mt-2'>
{% include '@kohinos/block/breadcrumb.html.twig' with {'label' : type} %}
{% if type == 'Prestataires' and tav_env == 1 %}
{% set label = 'Points de vente' %}
{% else %}
{% set label = type %}
{% endif %}
{% include '@kohinos/block/breadcrumb.html.twig' with {'label' : label} %}
<div class="d-flex justify-content-center">
<div class="btn-group text-center mb-2" role="group" aria-label="Basic example">
<a href='{{ path('liste_prestataire', {'order': 'raison'}) }}' type="button" class="btn btn-secondary">Par nom</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment