Show trip stats in reverse chronological order.
This commit is contained in:
parent
b4126d04f8
commit
7e3f9a9b1e
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% 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") %}
|
{% set countries = year_stats.countries | sort(attribute="name") %}
|
||||||
<h4>{{ year }}</h4>
|
<h4>{{ year }}</h4>
|
||||||
<div>Trips in {{ year }}: {{ year_stats.count }}</div>
|
<div>Trips in {{ year }}: {{ year_stats.count }}</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue