fix page "my accompanying period" and do not show drafts periods in

homepage (+ ordering)
This commit is contained in:
2022-02-16 19:57:35 +01:00
parent f2221565c5
commit aebb21935b
3 changed files with 7 additions and 4 deletions

View File

@@ -20,6 +20,8 @@
<div class="flex-table accompanyingcourse-list">
{% for period in accompanyingPeriods %}
{% include '@ChillPerson/AccompanyingPeriod/_list_item.html.twig' with {'period': period, 'recordAction': _self.recordAction(period)} %}
{% else %}
<p class="chill-no-data-statement">{{ 'Any accompanying period'|trans }}</p>
{% endfor %}
</div>