[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">
|
<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'] %}
|
<div>
|
||||||
<li>
|
<h5>{{ entry['bf_date_debut_evenement'] }}</h5>
|
||||||
<div>
|
{% if entry['bf_commentaire']|default %}
|
||||||
{{ entry['bf_date_debut_evenement'] }}
|
<p>{{ entry['bf_commentaire'] }}</p>
|
||||||
<p>{{ entry['bf_commentaire'] }}</p>
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
{% endfor %}
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue