mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-13 01:59:41 +00:00
Fixed colour coding on invoice waiting page
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user