{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% block title %} {% trans "Dashboard" %}{% endblock %} {% block content %}

{% trans "Workout"%}

{% if current_workout %}

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

– {{ current_workout.creation_date }}
    {% for day, exercise, is_workout in weekdays %}
  • {% if not is_workout %}{% endif%} {{ day }}: {{ exercise }} {% if not is_workout %}{% endif%}
  • {% endfor %}
{% if schedule %}

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

{% endif %} {% else %}

{% trans "No workouts found." %} {% trans "Add one now." %}

{% endif %}

{% trans "Nutrition plan"%}

{% if plan %}

{% if plan.description %} {{ plan.description }} {% else %} {% trans "Nutrition plan" %} {% endif %}

– {{ plan.creation_date }}
  • {% trans "Energy" %}: {{nutritional_info.energy}} kcal
  • {% trans "Protein" %}: {{nutritional_info.protein|floatformat}} g
  • {% trans "Carbohydrates" %}: {{nutritional_info.carbohydrates|floatformat}} g
  • {% trans "Fat" %}: {{nutritional_info.fat|floatformat}} g
{% else %}

{% trans "No nutrition plans." %} {% trans "Add one now." %}

{% endif %} {% if weight %}

{% trans "Your current weight is: "%} {{weight.weight|floatformat}} kg.

{% endif %}
{% endblock %} {% block sidebar %}

{% trans "Options" %}

{% trans 'My preferences' %} {% trans "My preferences" %}

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