Move cancel reason into red label

This commit is contained in:
Julie Lenaerts 2025-03-27 18:45:34 +01:00
parent cfbf7b4599
commit 4f170bf4cf

View File

@ -10,11 +10,11 @@
<div class="item-col">
<div class="wrap-header">
<div class="wl-row">
{% if calendar.status == 'canceled' %}
<p class="badge rounded-pill bg-danger">{{ 'chill_calendar.canceled'|trans }}: <span>{{ calendar.cancelReason.name|localize_translatable_string }}</span></p>
{% endif %}
<div class="wl-col title">
<p class="date-label">
{% if calendar.status == 'canceled' %}
<span class="badge rounded-pill bg-danger">{{ 'chill_calendar.canceled'|trans }}</span>
{% endif %}
{% if context == 'person' and calendar.context == 'accompanying_period' %}
<a href="{{ chill_path_add_return_path('chill_person_accompanying_course_index', {'accompanying_period_id': calendar.accompanyingPeriod.id}) }}" style="text-decoration: none;">
<span class="badge bg-primary">
@ -35,12 +35,12 @@
{% if calendar.status == 'canceled' %}
</del>
{% endif %}
{% if calendar.status == 'canceled' %}
<p>
<span>{{ 'chill_calendar.cancel_reason'|trans }}:</span>
<span>{{ calendar.cancelReason.name|localize_translatable_string }}</span>
</p>
{% endif %}
{# {% if calendar.status == 'canceled' %}#}
{# <p>#}
{# <span>{{ 'chill_calendar.cancel_reason'|trans }}:</span>#}
{##}
{# </p>#}
{# {% endif %}#}
<div class="duration short-message">
<i class="fa fa-fw fa-hourglass-end"></i>