From e0142de1d89259e14d5d39ed29121e0de81685c9 Mon Sep 17 00:00:00 2001 From: isaksolheim Date: Tue, 24 Jan 2023 13:21:10 +0100 Subject: [PATCH] Show allergies on attendees list Co-authored-by: magnusouren <91123056+magnusouren@users.noreply.github.com> --- templates/events/dashboard/details/attendees.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/templates/events/dashboard/details/attendees.html b/templates/events/dashboard/details/attendees.html index 2477a9d69..22eaa4179 100644 --- a/templates/events/dashboard/details/attendees.html +++ b/templates/events/dashboard/details/attendees.html @@ -34,9 +34,8 @@

Påmeldte ({{ event.attendanc Møtt {% if event.attendance_event.has_extras %} Extra - {% else %} - Allergier {% endif %} + Allergier Fjern @@ -72,11 +71,10 @@

Påmeldte ({{ event.attendanc {% if attendee.extras %}{{ attendee.extras }}{% else %}-{% endif %} - {% else %} + {% endif %} {% if attendee.user.allergies %}{{ attendee.user.allergies }}{% else %}-{% endif %} - {% endif %}