Show more detail for flights
This commit is contained in:
parent
8181dfbe3b
commit
093000bbc3
|
@ -105,6 +105,12 @@
|
||||||
{{ display_time(e.when) }}
|
{{ display_time(e.when) }}
|
||||||
–
|
–
|
||||||
{{ e.title }}
|
{{ 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>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue