Fixed colour coding on invoice waiting page

This commit is contained in:
David Taylor
2016-05-22 23:13:23 +01:00
parent 29aa13316d
commit 1faf8f95c8

View File

@@ -26,12 +26,14 @@
<tbody> <tbody>
{% for object in object_list %} {% for object in object_list %}
<tr class=" <tr class="
{% if event.cancelled %} {% if object.cancelled %}
active active text-muted
{% elif event.confirmed and event.mic or not event.is_rig %} {% elif not object.is_rig %}
{# interpreated as (booked and mic) or is non rig #} info
{% elif object.confirmed and object.mic %}
{# interpreated as (booked and mic) #}
success success
{% elif event.mic %} {% elif object.mic %}
warning warning
{% else %} {% else %}
danger danger