From 449fd0ac3582210a303dc7b14b7c0c9bafaec3a1 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Wed, 30 Sep 2026 15:27:06 +0200 Subject: [PATCH] Fix order detail page --- .../templates/pretixcontrol/order/index.html | 58 +++++++++---------- src/pretix/control/views/orders.py | 4 +- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/order/index.html b/src/pretix/control/templates/pretixcontrol/order/index.html index d29d7caa41..2b53d5a0cb 100644 --- a/src/pretix/control/templates/pretixcontrol/order/index.html +++ b/src/pretix/control/templates/pretixcontrol/order/index.html @@ -621,35 +621,35 @@ {% endif %}
- {# - {% if q.answer %} - {% if q.answer.file %} - - - {{ q.answer.file_name }} - - - {% trans "UNSAFE" %} - - {% if q.answer.is_image %} -
- - - - {% endif %} - {% elif q.type == "M" %} - {{ q.answer.to_string_i18n|rich_text_snippet }} - {% elif q.type %} - {{ q.answer.to_string_i18n|linebreaksbr }} - {% else %} - {{ q.answer|linebreaksbr }} - {% endif %} - {% else %} - {% trans "not answered" %} - {% endif %} - #} + +{# {% if q.answer %}#} +{# {% if q.answer.file %}#} +{# #} +{# #} +{# {{ q.answer.file_name }}#} +{# #} +{# #} +{# {% trans "UNSAFE" %}#} +{# #} +{# {% if q.answer.is_image %}#} +{#
#} +{# #} +{# #} +{# #} +{# {% endif %}#} +{# {% elif q.type == "M" %}#} +{# {{ q.answer.to_string_i18n|rich_text_snippet }}#} +{# {% elif q.type %}#} +{# {{ q.answer.to_string_i18n|linebreaksbr }}#} +{# {% else %}#} +{# {{ q.answer|linebreaksbr }}#} +{# {% endif %}#} +{# {% else %}#} +{# {% trans "not answered" %}#} +{# {% endif %}#} + {% include "pretixcontrol/order/fragment_question_answer.html" with request=request question=q answer=q.answer %} {% if q.system_datafield == "attendee_email" and not line.addon_to %}