From fec31823ee1e3ae984fef041ebc8265bbb07c30d Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 13 May 2020 18:41:45 +0200 Subject: [PATCH] Do not show "None" string to user --- src/pretix/control/templates/pretixcontrol/checkin/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/checkin/index.html b/src/pretix/control/templates/pretixcontrol/checkin/index.html index 0d13b1db29..b27aca1e43 100644 --- a/src/pretix/control/templates/pretixcontrol/checkin/index.html +++ b/src/pretix/control/templates/pretixcontrol/checkin/index.html @@ -100,7 +100,7 @@ {{ e.item }}{% if e.variation %} – {{ e.variation }}{% endif %} {% if seats %} - {{ e.seat }} + {{ e.seat|default_if_none:"" }} {% endif %} {% if e.addon_to and e.addon_to.attendee_email %} @@ -108,7 +108,7 @@ {% elif e.attendee_email %} {{ e.attendee_email }} {% else %} - {{ e.order.email }} + {{ e.order.email|default_if_none:"" }} {% endif %}