Show trip stats in reverse chronological order.
This commit is contained in:
parent
b4126d04f8
commit
7e3f9a9b1e
|
|
@ -20,7 +20,7 @@
|
|||
</div>
|
||||
{% endfor %}
|
||||
|
||||
{% for year, year_stats in yearly_stats | dictsort %}
|
||||
{% for year, year_stats in yearly_stats | dictsort(reverse=True) %}
|
||||
{% set countries = year_stats.countries | sort(attribute="name") %}
|
||||
<h4>{{ year }}</h4>
|
||||
<div>Trips in {{ year }}: {{ year_stats.count }}</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue