diff --git a/templates/trip_page.html b/templates/trip_page.html index 715b14a..e7c9ce2 100644 --- a/templates/trip_page.html +++ b/templates/trip_page.html @@ -57,7 +57,10 @@

{{ trip.title }}({{ display_date(trip.start) }})

Countries: {{ trip.countries_str }}
{% if end %} -
Dates: {{ display_date_no_year(trip.start) }} to {{ display_date_no_year(end) }}
+
+ Dates: {{ display_date_no_year(trip.start) }} to {{ display_date_no_year(end) }} + ({{ (end - trip.start).days }} nights) +
{% else %}
Start: {{ display_date_no_year(trip.start) }} (end date missing)
{% endif %}