diff --git a/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/_list.html.twig b/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/_list.html.twig index 46da9a911..dd24c875f 100644 --- a/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/_list.html.twig +++ b/src/Bundle/ChillCalendarBundle/Resources/views/Calendar/_list.html.twig @@ -12,6 +12,10 @@
+ {% if calendar.status == 'canceled' %}
+ {{ 'chill_calendar.canceled'|trans }}
+
+ {% endif %}
{% if context == 'person' and calendar.context == 'accompanying_period' %}
@@ -26,13 +30,19 @@
{{ calendar.startDate|format_datetime('short', 'short') }}
- {{ calendar.endDate|format_datetime('none', 'short') }}
{% endif %}
-
+ {{ 'chill_calendar.cancel_reason'|trans }}: + {{ calendar.cancelReason.name|localize_translatable_string }} +
+ {% endif %}