[Absences] Change display
This commit is contained in:
parent
94f2d3a898
commit
8a18c01cf9
1 changed files with 10 additions and 12 deletions
|
@ -1,21 +1,19 @@
|
|||
<div id="accordion" class="panel-group" role="tablist" aria-multiselectable="true">
|
||||
{% 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">
|
||||
<h4 class="panel-title">{{ group['nom'] }}</h4>
|
||||
</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">
|
||||
<ul>
|
||||
{% for entry in group['entries'] %}
|
||||
<li>
|
||||
<div>
|
||||
{{ entry['bf_date_debut_evenement'] }}
|
||||
<p>{{ entry['bf_commentaire'] }}</p>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% for entry in group['entries'] %}
|
||||
<div>
|
||||
<h5>{{ entry['bf_date_debut_evenement'] }}</h5>
|
||||
{% if entry['bf_commentaire']|default %}
|
||||
<p>{{ entry['bf_commentaire'] }}</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue