{% extends "base.html" %} {% load i18n staticfiles wger_extras %} {# #} {# Opengraph #} {# #} {% block opengraph %} {{ block.super }} {% with username=owner_user.username %} {% endwith %} {% endblock %} {# #} {# Title #} {# #} {% block title %}{% trans "Calendar" %}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% endblock %} {# #} {# Content #} {# #} {% block content %} {{calendar|safe}} {% for date, value in logs.items %}

{{date}} {% trans 'Detail page' %}

{% include 'calendar/partial_overview_table.html' %}
{% for exercise, logs in value.logs.items %}
    {% for log in logs %}
  • {{log.reps}} {% if not log.repetition_unit.is_repetition %} {% trans log.repetition_unit.name %} {% endif %} × {{log.weight}} {% trans log.weight_unit.name %} {% if is_owner %} {% endif %}
  • {% endfor %}
{% endfor %}
{% endfor %} {% endblock %} {# #} {# Side bar #} {# #} {% block sidebar %}

{% trans 'Info' %}

{% blocktrans %}The coloured days in the calendar have weight logs, you can click on them to see the details.{% endblocktrans %}

  {{ impressions.0.1 }}
  {{ impressions.1.1 }}
  {{ impressions.2.1 }}

{% trans "Go to current month" %}

{% regroup month_list by year as year_list %}
{% for year in year_list reversed %}
{% for month in year.list %} {{month|date:"F"}} {% endfor %}
{% endfor %}
{% endblock %} {% block options %} {% if is_owner %} {% trans "Add new log" %} {% endif %} {% endblock %}