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

@ -15,14 +15,22 @@
<th>Destination</th>
<th>Remarks</th>
</tr>
{% for flight in data%}
{% for flight in data %}
<tr>
<td>{{ flight["ident"] }}</td>
<td>{{ flight["scheduled_off"] }}</td>
<td>{{ flight["departure_delay"] }}</td>
<td>{{ flight["operator"] }}</td>
<td>{{ flight["destination"]["name"] }}</td>
<td>{{ flight["status"] }}</td>
<td>{{ flight["ident"] }}</td>
<td>{{ flight["scheduled_off"] }}</td>
<td>{% if flight["departure_delay"] %}
{{ flight["departure_delay"] }}
{% else %}
{% endif %}
</td>
<td>{{ flight["operator"] }}</td>
<td>{{ flight["destination"]["name"] }}</td>
<td>{% if flight["status"] != "Scheduled" %}
{{ flight["status"] }}
{% else %}
{% endif %}
</td>
</tr>
{% endfor %}
</table>