Move flag display to trip list template
This commit is contained in:
parent
75242c2952
commit
537a84ff67
2 changed files with 20 additions and 17 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue