{% 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}} {# #} {# Popups to edit or delete the logs #} {# #} {% if is_owner %} {% for date, value in logs.items %} {% for exercise, logs in value.logs.items %} {% for log in logs %} {% endfor %} {% endfor %} {% endfor %} {% endif %} {% for date, value in logs.items %}

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

{% include 'calendar/partial_overview_table.html' %} {# #} {# Logs #} {# #}
{% for exercise, logs in value.logs.items %}
{{ exercise }}
{% 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 'Log' %}

{% trans 'Go to current month' %} {% trans "Go to current month" %} {% if is_owner %} {% trans 'Add new log' %} {% trans "Add new log" %} {% endif %} {% regroup month_list by year as year_list %} {% for year in year_list reversed %}

{{ year.grouper }}

{% endfor %} {% endblock %}