Show more detail for flights

This commit is contained in:
Edward Betts 2024-05-20 20:56:14 +02:00
parent 8181dfbe3b
commit 093000bbc3

View file

@ -105,6 +105,12 @@
{{ display_time(e.when) }}
–
{{ e.title }}
{% if e.element_type == "flight" %}
<span class="text-nowrap"><strong>airline:</strong> {{ e.detail.airline_name }}</span>
<span class="text-nowrap"><strong>flight number:</strong> {{ e.detail.airline }}{{ e.detail.flight_number }}</span>
<span class="text-nowrap"><strong>duration:</strong> {{ e.detail.duration }}</span>
{# <pre>{{ e.detail | pprint }}</pre> #}
{% endif %}
</div>
{% endif %}
{% endfor %}