{% 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 %}
{{ exercise }}
{% endfor %}
{% endfor %} {% endblock %} {# #} {# Side bar #} {# #} {% block sidebar %} {% if is_owner %}

{% trans "Add new log" %}

{% endif %}

{% 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' %} {% 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 %}