FIX: dav_events: fixed warning-color on participants more than max.
This commit is contained in:
@@ -306,7 +306,7 @@
|
|||||||
{% for form in participant_formset %}
|
{% for form in participant_formset %}
|
||||||
{% with participant=form.instance %}
|
{% with participant=form.instance %}
|
||||||
{% with position=participant.position %}
|
{% 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">
|
<div id="headingParticipant_{{ participant.id }}" class="panel-heading" role="tab">
|
||||||
<h5 class="panel-title">
|
<h5 class="panel-title">
|
||||||
<a role="button" href="#collapseParticipant_{{ participant.id }}"
|
<a role="button" href="#collapseParticipant_{{ participant.id }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user