diff --git a/templates/macros.html b/templates/macros.html index cd331cd..a4dec45 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -73,7 +73,7 @@ {% macro flight_row(item) %} {% set full_flight_number = item.airline + item.flight_number %} - {% set url = "https://www.radarbox.com/data/flights/" + full_flight_number %} + {% set radarbox_url = "https://www.radarbox.com/data/flights/" + full_flight_number %}
{{ item.depart.strftime("%a, %d %b %Y") }}
{{ item.from }} → {{ item.to }}
{{ item.depart.strftime("%H:%M") }}
@@ -84,10 +84,13 @@ {% endif %}
{{ item.duration }}
-
- {{ full_flight_number }} -
+
{{ full_flight_number }}
{{ item.booking_reference }}
+
+ flightradar24 + | FlightAware + | radarbox +
{% endmacro %} {% macro train_row(item) %} @@ -103,4 +106,5 @@
{{ ((item.arrive - item.depart).total_seconds() // 60) | int }} mins
{{ item.operator }}
{{ item.booking_reference }}
+
{% endmacro %} diff --git a/templates/travel.html b/templates/travel.html index a762ebb..e0d8161 100644 --- a/templates/travel.html +++ b/templates/travel.html @@ -5,14 +5,14 @@