{% extends 'lib/base.html' %} {% load static %} {% block body %}
Sport Name | Icon | Number of Activities | Total Duration | Total Distance |
---|---|---|---|---|
{{ sport.name }} | {{ sport.total_count }} | {% if sport.total_duration != 0.0 %} {{ sport.total_duration }} {% else %} - {% endif %} | {% if sport.total_distance != 0.0 %} {{ sport.total_distance }} km {% else %} - {% endif %} |