1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{% extends '@kohinos/common/layout.html.twig' %}
{% block content %}
<div class='container groupeshow mt-2'>
{% include '@kohinos/block/breadcrumb.html.twig' with {'label': groupe.name, 'label2': 'Groupes locaux', 'url2': path('liste_groupe') } %}
<div class="p-2 bg-white rounded box-shadow">
<div class="contentgroupe p-4 mt-2">
<div class="card mb-2">
<div class="card-header"><h1>{{groupe.name}}</h1></div>
<div class="card-body">
<div class="card-text">
{{groupe.content|raw}}
</div>
</div>
{% if groupe.comptoirs|length > 0 %}
<div class="card-header"><h2>{{ groupe.comptoirs|length }} {{'comptoirs'|trans}} :</h2></div>
<ul class="list-group list-group-flush">
{% for comptoir in groupe.comptoirs %}
<li class="list-group-item">
<a href='{{ path('show_comptoir', {'slug': comptoir.slug}) }}'>{{comptoir.name}}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% if groupe.prestataires|length > 0 %}
<div class="card-header"><h2>{{ groupe.prestataires|length }} {{'Prestataires'|trans}} :</h2></div>
<ul class="list-group list-group-flush">
{% for presta in groupe.prestataires %}
<li class="list-group-item">
<a href="{{ path('show_prestataire', {'slug': presta.slug}) }}">{{ presta.raison }}</a>
</li>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
{% endblock %}