{% extends "base.html" %} {% 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 %}
{% else %}
{% trans "No workouts found." %} {% trans "Use link to add one." %}
{% 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 "Use link to add one." %}
{% endif %} {% if weight %}

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

{% endif %}

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

{% endblock %} {% block sidebar %}

{% trans "Options" %}

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

{% endblock %}