{% extends "base.html" %} {% load i18n static wger_extras django_bootstrap_breadcrumbs %} {# #} {# Opengraph #} {# #} {% block opengraph %} {{ block.super }} {% endblock %} {# #} {# Breadcrumbs #} {# #} {% block breadcrumbs %} {{ block.super }} {% breadcrumb workout workout %} {% breadcrumb "Weight log" "manager:log:log" workout.pk %} {% endblock %} {# #} {# Title #} {# #} {% block title %}{% translate "Weight log for workout" %}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% endblock %} {# #} {# Content #} {# #} {% block content %} {% if workout.comment %}
{% translate "Goal" %}: {{workout.comment}}
{% endif %} {% for day in workout.canonical_representation.day_list %}{% translate 'Add weight log to this day' %}
{% endif %} {% for set in day.set_list %} {% for exercise in set.exercise_list %} {% with day_list=workout_log|get_item:day.obj.id %} {% with exercise_list=day_list|get_item:exercise.obj.id %}{% translate "No weight entries here." %}
{% endif %} {% endwith %} {% endwith %} {% empty%}{% translate "No exercises for this day." %}
{% endfor %} {% endfor %} {% endfor %} {% endblock %} {# #} {# Side bar #} {# #} {% block sidebar %}{% blocktranslate %}This page shows the weight logs belonging to this workout only. Click on an exercise to see all the historical data for it.{% endblocktranslate %}
{% blocktranslate %}If on a single day there is more than one entry with the same number of repetitions, but different weights, only the entry with the higher weight is shown in the diagram.{% endblocktranslate %}
{% blocktranslate %}Note that only entries with a weight unit (kg or lb) and repetitions are charted, other combinations such as time or until failure are ignored here.{% endblocktranslate %}
{% endblock %}