Display calendar item info on cancel page

This commit is contained in:
2025-11-24 16:47:30 +01:00
parent 0d32810d0d
commit cacb7a0340
4 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
kind: UX
body: Display calendar item info on cancel page
time: 2025-11-24T16:47:23.020302054+01:00
custom:
Issue: "460"
SchemaChange: No schema change

View File

@@ -162,6 +162,7 @@
{% endif %}
<div class="item-row separator">
{% if show_record_actions is not defined or show_record_actions %}
<ul class="record_actions">
{% if is_granted('CHILL_CALENDAR_DOC_EDIT', calendar) and calendar.status is not constant('STATUS_CANCELED', calendar) %}
{% if templates|length == 0 %}
@@ -245,7 +246,7 @@
</li>
{% endif %}
</ul>
{% endif %}
</div>
</div>

View File

@@ -6,6 +6,10 @@
{% block content %}
<div class="flex-table list-records context-accompanyingCourse">
{{ include('@ChillCalendar/Calendar/_list.html.twig', {context: 'accompanying_course', show_record_actions: false}) }}
</div>
{{ form_start(form) }}
{{ form_row(form.cancelReason) }}

View File

@@ -6,6 +6,10 @@
{% block content %}
<div class="flex-table list-records context-person">
{{ include('@ChillCalendar/Calendar/_list.html.twig', {context: 'person', show_record_actions: false}) }}
</div>
{{ form_start(form) }}
{{ form_row(form.cancelReason) }}