Merge pull request #11 from altf4arnold/canceled-in-red
canceled and blocked turn the remarks in red
This commit is contained in:
commit
59ddeb69bc
|
@ -56,10 +56,19 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="px-6 py-4 font-medium text-amber-400 whitespace-nowrap">
|
|
||||||
{% if flight[i]["status"] != "Scheduled" %}
|
{% if flight[i]["status"] != "Scheduled" %}
|
||||||
|
{% if flight[i]["cancelled"] %}
|
||||||
|
<td class="px-6 py-4 font-medium text-red-600 whitespace-nowrap">
|
||||||
|
{{ flight[i]["status"] }}
|
||||||
|
{% elif flight[i]["blocked"] %}
|
||||||
|
<td class="px-6 py-4 font-medium text-red-600 whitespace-nowrap">
|
||||||
{{ flight[i]["status"] }}
|
{{ flight[i]["status"] }}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<td class="px-6 py-4 font-medium text-amber-400 whitespace-nowrap">
|
||||||
|
{{ flight[i]["status"] }}
|
||||||
|
{% endif %}
|
||||||
|
{% else %}
|
||||||
|
<td class="px-6 py-4 font-medium text-amber-400 whitespace-nowrap">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in a new issue