From 093000bbc35271c95aa631a97f3aa77b5e39deba Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Mon, 20 May 2024 20:56:14 +0200 Subject: [PATCH] Show more detail for flights --- templates/trip/list.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/trip/list.html b/templates/trip/list.html index b08a3cb..a35ac5b 100644 --- a/templates/trip/list.html +++ b/templates/trip/list.html @@ -105,6 +105,12 @@ {{ display_time(e.when) }} – {{ e.title }} + {% if e.element_type == "flight" %} + airline: {{ e.detail.airline_name }} + flight number: {{ e.detail.airline }}{{ e.detail.flight_number }} + duration: {{ e.detail.duration }} + {#
{{ e.detail | pprint }}
#} + {% endif %} {% endif %} {% endfor %}