ynh_extension_meeo/templates/edu_notes.twig

18 lines
827 B
Twig
Raw Normal View History

2024-07-13 19:03:41 +00:00
<div id="accordion_bulletins" class="panel-group">
2024-07-13 18:39:43 +00:00
{% for bulletin in bulletins|sort %}
{% if bulletin.isVisible() %}
2024-07-12 14:49:50 +00:00
<div class="panel panel-default">
2024-07-13 19:03:41 +00:00
<button id="head_{{ bulletin.getId() }}" class="panel-heading collapsed" data-parent="#accordion_bulletins" data-target="#{{ bulletin.getId() }}" data-toggle="collapse">
2024-07-13 18:39:43 +00:00
<h4 class="panel-title">{{ bulletin.getNom() }}</h4>
2024-07-13 19:03:41 +00:00
<div class="row">
2024-07-27 15:37:51 +00:00
<div class="col-sm-9">{{ bulletin.getClasse() }}</div>
2024-07-13 19:03:41 +00:00
<div class="col-sm-3">Moyenne Générale : {{ bulletin.getMoyenne() }}</div>
</div>
2024-07-12 14:49:50 +00:00
</button>
2024-07-13 19:03:41 +00:00
<div id="{{ bulletin.getId() }}" class="panel-collapse collapse" style="padding:5px">
2024-07-13 18:39:43 +00:00
{% include '@meeo/eleve_notes.twig' with { 'bulletin' : bulletin } %}
2024-07-12 14:49:50 +00:00
</div>
</div>
{% endif %}
2024-07-12 14:49:50 +00:00
{% endfor %}
</div>