mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-01 04:42:21 +00:00
Fixed colour coding on invoice waiting page
This commit is contained in:
@@ -26,16 +26,18 @@
|
|||||||
<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
|
||||||
success
|
{% elif object.confirmed and object.mic %}
|
||||||
{% elif event.mic %}
|
{# interpreated as (booked and mic) #}
|
||||||
warning
|
success
|
||||||
{% else %}
|
{% elif object.mic %}
|
||||||
danger
|
warning
|
||||||
{% endif %}
|
{% else %}
|
||||||
|
danger
|
||||||
|
{% endif %}
|
||||||
">
|
">
|
||||||
<td class="hidden-xs"><a href="{% url 'event_detail' object.pk %}" target="_blank">N{{ object.pk|stringformat:"05d" }}</a></td>
|
<td class="hidden-xs"><a href="{% url 'event_detail' object.pk %}" target="_blank">N{{ object.pk|stringformat:"05d" }}</a></td>
|
||||||
<td>{{ object.end_date }}</td>
|
<td>{{ object.end_date }}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user