ynh_extension_meeo/templates/edu_notes.twig
2024-11-05 11:05:51 +01:00

18 lines
616 B
Twig

<div class="panel-group">
{% for classe in classes %}
{% if classe.haveBulletins() %}
<div class="panel panel-primary">
<div class="panel-heading">{{ classe.getName() }}</div>
<div class="panel-body">
<div id="accordion_bulletins" class="panel-group">
{% for bulletin in classe.getBulletins() %}
{% if bulletin.isVisible() %}
{% include '@meeo/eleve_notes.twig' with { 'bulletin' : bulletin } %}
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>