{% extends "layout.html" %} {% block body %}
{% for pitstop in data['pitstops'] %} {% endfor %}
Date
Days
Odometer
Distance
Litres
Average
{{pitstop.date}}
{% if pitstop.days %}{{pitstop.days}}{% else %} --{% endif %} days
{{pitstop.odometer}} km
{% if pitstop.distance %}{{pitstop.distance}}{% else %} --{% endif %} km
{{pitstop.litres}} l
{% if pitstop.average %}{{pitstop.average | round(2)}}{% else %} --{% endif %} l/100km
{% endblock %}