[Absences] Change display

This commit is contained in:
mckmonster 2024-07-04 11:34:16 +02:00
parent 94f2d3a898
commit 8a18c01cf9

View file

@ -1,21 +1,19 @@
<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true"> <div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
{% for identifier, group in groups %} {% for identifier, group in groups %}
<div class="panel"> <div class="panel panel-default">
<button id="head_{{ identifier }}" class="panel-heading collapsed" data-parent="#accordion" data-target="#{{ identifier }}" data-toggle="collapse" aria-expanded="false"> <button id="head_{{ identifier }}" class="panel-heading collapsed" data-parent="#accordion" data-target="#{{ identifier }}" data-toggle="collapse" aria-expanded="false">
<h4 class="panel-title">{{ group['nom'] }}</h4> <h4 class="panel-title">{{ group['nom'] }}</h4>
</button> </button>
<div id="{{ identifier }}" class="panel-collapse collapse" aria-expanded="false"> <div id="{{ identifier }}" class="panel-collapse collapse in" aria-expanded="false">
<div class="panel-body"> <div class="panel-body">
<ul>
{% for entry in group['entries'] %} {% for entry in group['entries'] %}
<li>
<div> <div>
{{ entry['bf_date_debut_evenement'] }} <h5>{{ entry['bf_date_debut_evenement'] }}</h5>
{% if entry['bf_commentaire']|default %}
<p>{{ entry['bf_commentaire'] }}</p> <p>{{ entry['bf_commentaire'] }}</p>
{% endif %}
</div> </div>
</li>
{% endfor %} {% endfor %}
</ul>
</div> </div>
</div> </div>
</div> </div>