Re-establish canceled tag and strikethrough

This commit is contained in:
2025-03-03 13:21:35 +01:00
parent ffef8b70a3
commit 6f8b25f457

View File

@@ -23,6 +23,9 @@
</span> </span>
</a> </a>
{% endif %} {% endif %}
{% if calendar.status == 'canceled' %}
<del>
{% endif %}
{% if calendar.endDate.diff(calendar.startDate).days >= 1 %} {% if calendar.endDate.diff(calendar.startDate).days >= 1 %}
{{ calendar.startDate|format_datetime('short', 'short') }} {{ calendar.startDate|format_datetime('short', 'short') }}
- {{ calendar.endDate|format_datetime('short', 'short') }} - {{ calendar.endDate|format_datetime('short', 'short') }}
@@ -30,6 +33,9 @@
{{ calendar.startDate|format_datetime('short', 'short') }} {{ calendar.startDate|format_datetime('short', 'short') }}
- {{ calendar.endDate|format_datetime('none', 'short') }} - {{ calendar.endDate|format_datetime('none', 'short') }}
{% endif %} {% endif %}
{% if calendar.status == 'canceled' %}
</del>
{% endif %}
{% if calendar.status == 'canceled' %} {% if calendar.status == 'canceled' %}
</del> </del>
<p> <p>