accompanying course work, specific render for list page or resume page (wip)

This commit is contained in:
Mathieu Jaumotte 2021-10-04 14:22:27 +02:00
parent 665b38d166
commit 369a29af48
3 changed files with 3 additions and 3 deletions

View File

@ -172,7 +172,7 @@
<div class="social-actions mb-5">
<h2 class="mb-3">{{ 'Social actions'|trans }}</h2>
{% include 'ChillPersonBundle:AccompanyingCourseWork:list_by_accompanying_period.html.twig' with {'buttonText': false } %}
{% include 'ChillPersonBundle:AccompanyingCourseWork:list_by_accompanying_period.html.twig' with {'buttonText': false, 'render': 'resume' } %}
</div>
{% block contentActivity %}

View File

@ -7,7 +7,7 @@
<h1>{{ block('title') }}</h1>
{% include 'ChillPersonBundle:AccompanyingCourseWork:list_by_accompanying_period.html.twig' %}
{% include 'ChillPersonBundle:AccompanyingCourseWork:list_by_accompanying_period.html.twig' with {'render': 'list'} %}
<ul class="record_actions sticky-form-buttons">
<li>

View File

@ -5,7 +5,7 @@
</p>
{% endif %}
<div class="flex-table accompanying_course_work-list">
<div class="flex-table accompanying_course_work-{{ render }}">
{% for w in works %}
<div class="item-bloc">
<div class="item-row">