{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {% block title %}{% trans "Workout log calendar" %}{% endblock %} {% block header %} {% endblock %} {% block content %} {{calendar|safe}} {% for date in logs %}
{{ first_log.workout }} {% trans "Log overview" %} {% if session %} {% trans "Edit workout session" %} {% else %} {% trans "Add workout impression" %} {% endif %}
{% if session %}
{% trans "Time" %}:
{% if session.time_start %}
{{session.time_start|time:"H:i"}} - {{session.time_end|time:"H:i"}}
{% else %}
-/-
{% endif %}
{% trans "General impression" %}: {% trans session.get_impression_display %}
{% trans "Notes" %}: {{session.notes|default:'-/-'}}
{% blocktrans %}The coloured days in the calendar have weight logs, you can click on them to see the details.{% endblocktrans %}
{% trans "Go to current month" %}
{{ date|date:"Y" }}
{% endifchanged %} {% if current_month = date.month and current_year = date.year %} {{date|date:"F"}}