Skip to content

Commit

Permalink
Merge pull request #3138 from dotkom/dashboard-events-add-allergies-t…
Browse files Browse the repository at this point in the history
…o-waitlist

show allergies on users at waitlist in dashboard events
  • Loading branch information
henrikhorluck authored Feb 28, 2024
2 parents 6686bf2 + eff88fa commit 2542e1e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/events/dashboard/details/waitlist.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ <h3 class="panel-title">Venteliste (<span id="waitlist-count">{{ event.attendanc
{% if event.attendance_event.has_extras %}
<th>Extra</th>
{% endif %}
<th>Allergier</th>
<th>Fjern</th>
</tr>
</thead>
Expand All @@ -45,6 +46,9 @@ <h3 class="panel-title">Venteliste (<span id="waitlist-count">{{ event.attendanc
{% if attendee.extras %}{{ attendee.extras }}{% else %}-{% endif %}
</td>
{% endif %}
<td>
{% if attendee.user.allergies %}{{ attendee.user.allergies }}{% else %}-{% endif %}
</td>
<td>
<a href="#modal-delete-waitlist-attendee" data-toggle="modal" data-id="{{ attendee.id }}" data-name="{{ attendee.user.get_full_name }}" class="remove-user">
<i class="fa fa-times fa-lg red"></i>
Expand Down

0 comments on commit 2542e1e

Please sign in to comment.