Change table classes to show non rigs issue #37

This commit is contained in:
Tom Price
2015-03-30 19:15:41 +01:00
parent 9ebf3d4769
commit 3f06e0b909

View File

@@ -12,8 +12,10 @@
<tr class="
{% if event.cancelled %}
active
{% elif event.confirmed and event.mic or not event.is_rig %}
{# interpreated as (booked and mic) or is non rig #}
{% elif not event.is_rig %}
info
{% elif event.confirmed and event.mic %}
{# interpreated as (booked and mic) #}
success
{% elif event.mic %}
warning