Show CO₂ for flights on trip list.

This commit is contained in:
Edward Betts 2025-05-26 10:07:37 -05:00
parent a66565a785
commit 63c7c54bfc
4 changed files with 21 additions and 3 deletions

View file

@ -62,6 +62,7 @@
distance: {{format_distance(distance) }}
</div>
{% endfor %}
<div>Total CO₂: {{ "{:,.1f}".format(total_co2_kg / 1000.0) }} tonnes</div>
{% for trip in items %}
{{ trip_item(trip) }}