{% extends "page.html" %} {% block script %} $(function() { $("#stats-tabs").tabs().show(); }); {% endblock %} {% block content %}
Trips: {{ stat.1.trip_count }}
Visited places: {{ stat.1.places|length }}
Visited countries: {% for country in stat.1.countries %}{{ country.name }}{% if not forloop.last %}, {% endif %}{% endfor %}
{% with stat.1.extreme_places as p %} {% if p %}
Northernmost place: {{ p.N.name }}
Southernmost place: {{ p.S.name }}
Easternmost place: {{ p.E.name }}
Westernmost place: {{ p.W.name }}
{% if stat.1.distance_AIRPLANE %}Distance traveled by airplane: {{ stat.1.distance_AIRPLANE|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_BIKE %}Distance traveled by bike: {{ stat.1.distance_AIRPLANE|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_BOAT_X_FERRY %}Distance traveled by boat / ferry: {{ stat.1.distance_BOAT_X_FERRY|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_BUS %}Distance traveled by bus: {{ stat.1.distance_BUS|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_CAR %}Distance traveled by car: {{ stat.1.distance_CAR|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_MOTORCYCLE %}Distance traveled by motorcycle: {{ stat.1.distance_MOTORCYCLE|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_TRAIN %}Distance traveled by train: {{ stat.1.distance_TRAIN|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_WALK %}Distance traveled by walking: {{ stat.1.distance_WALK|floatformat:2 }} km
{% endif %}
{% if stat.1.distance_UNSPECIFIED %}Distance traveled by other means: {{ stat.1.distance_UNSPECIFIED|floatformat:2 }} km
{% endif %}
Total distance traveled: {{ stat.1.distance|floatformat:2 }} km