Skip to content

Commit

Permalink
Merge pull request #2981 from dotkom/fix/show-hidden-allergies
Browse files Browse the repository at this point in the history
Show allergies on attendees list
  • Loading branch information
kharann authored Jan 24, 2023
2 parents 655bc88 + e0142de commit 4b6b83e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/events/dashboard/details/attendees.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ <h3 class="panel-title">Påmeldte (<span id="attendees-count">{{ event.attendanc
<th>Møtt</th>
{% if event.attendance_event.has_extras %}
<th>Extra</th>
{% else %}
<th>Allergier</th>
{% endif %}
<th>Allergier</th>
<th>Fjern</th>
</tr>
</thead>
Expand Down Expand Up @@ -72,11 +71,10 @@ <h3 class="panel-title">Påmeldte (<span id="attendees-count">{{ event.attendanc
<td>
{% if attendee.extras %}{{ attendee.extras }}{% else %}-{% endif %}
</td>
{% else %}
{% endif %}
<td>
{% if attendee.user.allergies %}{{ attendee.user.allergies }}{% else %}-{% endif %}
</td>
{% endif %}
<td>
<a href="#modal-delete-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 4b6b83e

Please sign in to comment.