{% import "includes/macros" as macros %} {% extends "base" %} {% block content %}

Statistik

{% set_global km = 0 %} {% set_global index = 1 %} {% for s in stat %}
{% if km != s.rowed_km %} {{ loop.index }} {% set_global index = loop.index %} {% else %} {{ index }} {% endif %} {{ s.name }} {{ s.rowed_km }} km {% set_global km = s.rowed_km %}
{% endfor %}
{{ guest_km.name }} {{ guest_km.rowed_km }} km
{% endblock content%}