Restore trip stats link in trip list

This commit is contained in:
Edward Betts 2024-10-21 09:52:21 +01:00
parent 3c0694de19
commit 662808b545

View file

@ -53,6 +53,7 @@
{% if item_list %} {% if item_list %}
{% set items = item_list | list %} {% set items = item_list | list %}
<div class="heading"><h2>{{ heading }}</h2></div> <div class="heading"><h2>{{ heading }}</h2></div>
<p><a href="{{ url_for("trip_stats") }}">Trip statistics</a></p>
<p>{{ items | count }} trips</p> <p>{{ items | count }} trips</p>
<div>Total distance: {{ format_distance(total_distance) }}</div> <div>Total distance: {{ format_distance(total_distance) }}</div>