minor layout improvement show parcours btn in task

This commit is contained in:
Julie Lenaerts 2022-06-01 15:43:01 +02:00
parent 8d70562132
commit d9dfe75378

View File

@ -27,11 +27,7 @@
} %}
</span>
{% elseif task.course is not null %}
<a href="{{ path('chill_person_accompanying_course_index', { 'accompanying_period_id': task.course.id }) }}"
class="btn btn-sm btn-outline-primary" title="{{ 'See accompanying period'|trans }}">
<i class="fa fa-random fa-fw"></i>
</a>
<div style="margin-bottom: 1rem;">
{% for part in task.course.currentParticipations %}
{% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
targetEntity: { name: 'person', id: part.person.id },
@ -41,7 +37,11 @@
isDead: part.person.deathdate is not null
} %}
{% endfor %}
</div>
<a href="{{ path('chill_person_accompanying_course_index', { 'accompanying_period_id': task.course.id }) }}"
class="btn btn-sm btn-outline-primary" title="{{ 'See accompanying period'|trans }}">
<i class="fa fa-random fa-fw"></i>
</a>
{% endif %}
</div>
{% endif %}
@ -80,6 +80,13 @@
</ul>
</div>
{% endif %}
{# {% if task.course is not null %}
<a href="{{ path('chill_person_accompanying_course_index', { 'accompanying_period_id': task.course.id }) }}"
class="btn btn-sm btn-outline-primary" style="float:right;" title="{{ 'See accompanying period'|trans }}">
<i class="fa fa-random fa-fw"></i>
</a>
{% endif %} #}
</div>
</div>