Restore trip stats link in trip list
This commit is contained in:
parent
3c0694de19
commit
662808b545
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue