QuestionnaireChild: system_question und user_question in system_datafield und user_datafield umbenennen

This commit is contained in:
Mira Weller
2026-09-15 16:37:22 +02:00
parent 59cebf3ee8
commit 53a8a7954d
12 changed files with 50 additions and 48 deletions
@@ -20,8 +20,10 @@
{% endif %}
{% elif question.type == "M" %}
{{ answer.to_string_i18n|rich_text_snippet }}
{% elif question.type %}
{{ answer.to_string_i18n|rich_text_snippet }}
{% else %}
{{ answer.to_string_i18n|linebreaksbr }}
{{ answer|linebreaksbr }}
{% endif %}
{% else %}
<em>{% trans "not answered" %}</em>
@@ -651,7 +651,7 @@
{% endif %}
#}
{% include "pretixcontrol/order/fragment_question_answer.html" with request=request question=q answer=q.answer %}
{% if q.system_question == "attendee_email" and not line.addon_to %}
{% if q.system_datafield == "attendee_email" and not line.addon_to %}
<form class="form-inline helper-display-inline" method="post"
action="{% url "control:event.order.resendlink" event=request.event.slug organizer=request.event.organizer.slug code=order.code position=line.pk %}">
{% csrf_token %}