accompanying course: display closed acc. period in list

This commit is contained in:
nobohan
2022-01-20 08:32:48 +01:00
parent 343b2a6f2f
commit 25ebeebdfb
3 changed files with 7 additions and 1 deletions

View File

@@ -93,6 +93,11 @@
<span class="course-draft badge bg-secondary" title="{{ 'course.draft'|trans }}">{{ 'course.draft'|trans }}</span>
</div>
{% endif %}
{% if acp.step == 'CLOSED' %}
<div class="is-closed">
<span class="course-closed badge bg-danger" title="{{ 'course.closed'|trans }}">{{ 'course.closed'|trans }}</span>
</div>
{% endif %}
{% if acp.requestorPerson == person %}
<div>
<span class="as-requestor badge bg-info" title="{{ 'Requestor'|trans|e('html_attr') }}">