diff --git a/templates/macros.html b/templates/macros.html index a9d7364..f7926e6 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -68,6 +68,8 @@ {% endmacro %} {% macro flight_row(item) %} + {% set full_flight_number = item.airline + item.flight_number %} + {% set 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") }}
@@ -78,7 +80,9 @@ {% endif %}
{{ item.duration }}
-
{{ item.airline }}{{ item.flight_number }}
+
+ {{ full_flight_number }} +
{{ item.booking_reference }}
{% endmacro %}