deleting scheduled and None/0 from the page

This commit is contained in:
Arnold Dechamps 2024-03-20 03:17:38 +01:00
parent a180387cf4
commit ef1ac127b0
No known key found for this signature in database
GPG key ID: AE66543374E41C89

View file

@ -19,10 +19,18 @@
<tr>
<td>{{ flight["ident"] }}</td>
<td>{{ flight["scheduled_off"] }}</td>
<td>{{ flight["departure_delay"] }}</td>
<td>{% if flight["departure_delay"] %}
{{ flight["departure_delay"] }}
{% else %}
{% endif %}
</td>
<td>{{ flight["operator"] }}</td>
<td>{{ flight["destination"]["name"] }}</td>
<td>{{ flight["status"] }}</td>
<td>{% if flight["status"] != "Scheduled" %}
{{ flight["status"] }}
{% else %}
{% endif %}
</td>
</tr>
{% endfor %}
</table>