Less precision for distances
This commit is contained in:
parent
48549ce009
commit
b5c1e16901
|
@ -135,7 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-item text-end">
|
<div class="grid-item text-end">
|
||||||
{% if item.distance %}
|
{% if item.distance %}
|
||||||
{{ "{:.1f} km / {:.1f} miles".format(item.distance, item.distance / 1.60934) }}
|
{{ "{:,.0f} km / {:,.0f} miles".format(item.distance, item.distance / 1.60934) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
Loading…
Reference in a new issue