From ff76fe38e37a1d85ae9c265cbc07e8acba98e654 Mon Sep 17 00:00:00 2001
From: Raphael Michel
Date: Wed, 26 Mar 2025 15:46:43 +0100
Subject: [PATCH] Do not show ticket attachments as information is not reliable
(refs #4945)
---
.../control/templates/pretixcontrol/order/mail_history.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/pretix/control/templates/pretixcontrol/order/mail_history.html b/src/pretix/control/templates/pretixcontrol/order/mail_history.html
index ade4baed66..85d85693f0 100644
--- a/src/pretix/control/templates/pretixcontrol/order/mail_history.html
+++ b/src/pretix/control/templates/pretixcontrol/order/mail_history.html
@@ -52,9 +52,12 @@
{{ log.parsed_data.message }}
+ {% comment %}
+ {# Unfortunately, we do not have reliable info whether tickets were attached. #}
{% if log.parsed_data.attach_tickets %}
- {% trans "Tickets" %}
{% endif %}
+ {% endcomment %}
{% if log.parsed_data.attach_ical %}
- {% trans "Calendar invite" %}
{% endif %}