{% extends "base_wide.html" %} {% load i18n static wger_extras %} {% block title %}{% translate "Dashboard" %}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% if plan %} {% endif %} {% endblock %} {% block content %} {% if current_workout %} {% endif %} {% if plan %} {% endif %}
{% translate "Workout"%}
{% if current_workout %}

{% if current_workout.comment %} {{ current_workout.comment }} {% else %} {% translate "Workout" %} {% endif %}

– {{ current_workout.creation_date }}

{% endif %} {% for day, exercise, is_workout in weekdays %} {% endfor %}
{{ day }} {% if not is_workout %}{% endif%} {{ exercise }} {% if not is_workout %}{% endif%}
{% if schedule %}

→ {% translate "This workout is part of a schedule:" %} {{schedule.name}}

{% endif %}

{% blocktranslate trimmed %}The current workout is selected from your active schedule or, if you don't have one, simply by date.{% endblocktranslate %}

{% translate "Nutrition plan"%}
{% if plan %}

{{ plan }}

– {{ plan.creation_date }}

{% endif %}
{% translate "Energy" %} {{nutritional_info.total.energy|floatformat|default:"-/-"}} {% translate "kcal" %}
{% translate "Protein" %} {{nutritional_info.total.protein|floatformat|default:"-/-"}} {% trans_weight_unit 'g' user %}
{% translate "Carbohydrates" %} {{nutritional_info.total.carbohydrates|floatformat|default:"-/-"}} {% trans_weight_unit 'g' user %}
{% translate "Fat" %} {{nutritional_info.total.fat|floatformat|default:"-/-"}} {% trans_weight_unit 'g' user %}
{% translate "Weight"%}
{% if weight %}

{% translate "Your current weight is: "%} {{weight.weight|floatformat}} {% trans_weight_unit 'kg' user %}

{% for entry_detail in last_weight_entries %} {% endfor %}
{{ entry_detail.0.date }} {{ entry_detail.0.weight }} {% if entry_detail.1 > 0 %} + {% endif %} {% if entry_detail.1 %} {{ entry_detail.1 }} {% else %} -/- {% endif %}
{% endif %}
{% endblock %}