FIX: dav_events: fixed warning-color on participants more than max.

This commit is contained in:
2019-06-25 11:56:50 +02:00
parent f961110a7c
commit 5fc5195f81

View File

@@ -306,7 +306,7 @@
{% for form in participant_formset %}
{% with participant=form.instance %}
{% with position=participant.position %}
<div class="panel {% if event.max_participants and position > event.max_participant %}panel-warning{% else %}panel-default{% endif %}">
<div class="panel {% if event.max_participants and position > event.max_participants %}panel-warning{% else %}panel-default{% endif %}">
<div id="headingParticipant_{{ participant.id }}" class="panel-heading" role="tab">
<h5 class="panel-title">
<a role="button" href="#collapseParticipant_{{ participant.id }}"