Move flag display to trip list template

This commit is contained in:
Edward Betts 2024-05-27 11:10:53 +02:00
parent 75242c2952
commit 537a84ff67
2 changed files with 20 additions and 17 deletions

View file

@ -118,11 +118,11 @@
{{ e.get_emoji() }}
{{ display_time(e.start_time) }}
–
{{ e.start_loc }}
{{ e.start_loc }} {{ e.start_country.flag }}
{{ display_time(e.end_time) }}
–
{{ e.end_loc }}
{{ e.end_loc }} {{ e.end_country.flag }}
{% 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>