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

{% trans "Workout"%}

{% if current_workout %}

{% if current_workout.comment %} {{ current_workout.comment }} {% else %} {% trans "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%}

{% trans "Nutrition plan"%}

{% if plan %}

{{ plan }}

– {{ plan.creation_date }}

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

{% trans "Weight"%}

{% trans "Overview" %}

{% if weight %}

{% trans "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 %}
{% if schedule %}

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

{% endif %}

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

{% if current_workout %} {% if current_workout.day_set.all %} {% trans "Add new log" %} {% endif %} {% else %} {% trans "No workouts found." %} {% trans "Add one now." %} {% endif %}
{% if not plan %} {% trans "No nutrition plans." %} {% trans "Add one now." %} {% endif %}

{% trans "Add weight entry" %}
{% endblock %} {% block sidebar %}

{% trans "Info" %}

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

{% trans "After adding a workout or a nutritional plan, you can edit them to set a goal." %}

{% endblock %}