{% extends 'topopartner/base.html' %} {% load mathfilters %} {% load static %} {% block title %}Tracks ∣ {{ block.super }}{% endblock title %} {% block head %} {{ block.super }} {% endblock head %} {% block body %}

Itineraries

{% if itineraries %}
{% for track in itineraries %} {% endfor %}
Label Distance Uphill Downhill Duration∗ Creation Public
{{ track.label }} {% if track.distance %}{{ track.distance | mul:.001 | floatformat }}km{% else %}—{% endif %} {% if track.uphill %}{{ track.uphill | floatformat:"0" }}m{% else %}—{% endif %} {% if track.downhill %}{{ track.downhill | floatformat:"0" }}m{% else %}—{% endif %} {% if track.duration %}{{ track.pretty_duration }}{% else %}—{% endif %} {{ track.date_added | date }} {% if track.public %}✓{% else %}—{% endif %}
{% else %}

Nothing to show here.

{% endif %}

Create itinerary

{% endblock body %}