{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load wger_extras %} {# #} {# Opengraph #} {# #} {% block opengraph %} {{ block.super }} {% endblock %} {# #} {# Title #} {# #} {% block title %}{% trans "Nutrition plan" %} – {{ plan.creation_date}}{% endblock %} {# #} {# Header #} {# #} {% block header %} {% endblock %} {# #} {# Content #} {# #} {% block content %} {% if plan.description %}
{% trans "Goal" %}: {{plan.description}}
{% endif %}{% trans "Meal" %} | {% trans "Contents" %} | {% trans "Energy" %} | {% trans "Protein" %} | {% trans "Carbohydrates" %} | {% trans "Fat" %} | |
---|---|---|---|---|---|---|
{% trans 'kcal' %} | {% trans_weight_unit 'g' owner_user %} | {% trans_weight_unit 'g' owner_user %} | {% trans_weight_unit 'g' owner_user %} | |||
{% trans "Nr."%} {{ forloop.parentloop.counter }} {% if meal.time %} – {{meal.time|time:"H:i"}}{% endif %} {% if is_owner %} | {% endifchanged %} {% endif %}{% if item.get_unit_type == MEALITEM_WEIGHT_GRAM %}{{ item.amount|floatformat:"0" }}g {% else %} {{ item.amount|floatformat:"0" }} × {{ item.weight_unit.unit.name }} {% endif %} {{ item.ingredient.name }} {% if is_owner %} | {% endif %}{{item.get_nutritional_values.energy|floatformat}} | {{item.get_nutritional_values.protein|floatformat}} | {{item.get_nutritional_values.carbohydrates|floatformat}} | {{item.get_nutritional_values.fat|floatformat}} | |
{% trans "No items for this meal." %} {% trans "Add one now."%} | ||||||
|
||||||
{% trans "If you find the ingredient list too short, you might want to activate the preference to also show English ingredients." %} {% trans "That's done here" %}.
{% endif %}{% trans "Macronutrients" %} | {% trans "Total" %} | {% trans "Percent of energy" %} | {% if owner_user.userprofile.use_metric %} {% trans "g per body kg" %} {% else %} {% trans "oz per body lb" %} {% endif %} |
---|---|---|---|
{% trans "Energy" %} | {{nutritional_data.total.energy|floatformat}} {% trans "kcal" %} | ||
{% trans "Protein" %} | {{nutritional_data.total.protein|floatformat}} {% trans_weight_unit 'g' owner_user %} | {{nutritional_data.percent.protein|floatformat}} % | {{nutritional_data.per_kg.protein|floatformat:2}} |
{% trans "Carbohydrates" %} | {{nutritional_data.total.carbohydrates|floatformat}} {% trans_weight_unit 'g' owner_user %} | {{nutritional_data.percent.carbohydrates|floatformat}} % | {{nutritional_data.per_kg.carbohydrates|floatformat:2}} |
{% trans "Sugar content in carbohydrates" %} | {{nutritional_data.total.carbohydrates_sugar|floatformat}} {% trans_weight_unit 'g' owner_user %} | ||
{% trans "Fat" %} | {{nutritional_data.total.fat|floatformat}} {% trans_weight_unit 'g' owner_user %} | {{nutritional_data.percent.fat|floatformat}} % | {{nutritional_data.per_kg.fat|floatformat:2}} |
{% trans "Saturated fat content in fats" %} | {{nutritional_data.total.fat_saturated|floatformat}} {% trans_weight_unit 'g' owner_user %} | ||
{% trans "Others" %} | |||
{% trans "Fibres" %} | {{nutritional_data.total.fibres|floatformat}} {% trans_weight_unit 'g' owner_user %} | ||
{% trans "Sodium" %} | {{nutritional_data.total.sodium|floatformat}} {% trans_weight_unit 'g' owner_user %} |
{% trans "Energy" %} | {{nutritional_data.total.energy|floatformat}} {% trans "kcal" %} |
---|---|
{% trans "Goal" %} | {{owner_user.userprofile.calories}} {% trans "kcal" %} |
{% blocktrans %}You have selected that this nutritional plan has a goal amount of calories. Use the calculator or enter the value yourself.{% endblocktrans %} {% trans "That's done here" %}
{% endif %}
{% trans "Edit nutrition plan" %}