{% extends "base.html" %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% load manager_extras %} {% block title %}{{ingredient.name}}{% endblock %} {% block header %} {% endblock %} {% block content %} {% if ingredient.status == ingredient.INGREDIENT_STATUS_PENDING %}
{% blocktrans %}This user submitted ingredient is pending a decision to be included in the database. Till then, it will not be shown in the overview or the search.{% endblocktrans %} {% if perms.exercises %}{% trans "Please select one of the options below." %}{% endif %}
{% if perms.exercises %} {% endif %} {# end check permissions #}{% trans "Macronutrients" %} | |
---|---|
{% trans "Energy" %} | {{ingredient.energy}} kcal |
{% trans "Protein" %} | {{ingredient.protein}} g |
{% trans "Carbohydrates" %} | {{ingredient.carbohydrates}} g |
{% trans "Sugar content in carbohydrates" %} | {% if ingredient.carbohydrates_sugar %} {{ingredient.carbohydrates_sugar}} g {% else %} {% trans "n.A." %} {% endif %} |
{% trans "Fat" %} | {{ingredient.fat}} g |
{% trans "Saturated fat content in fats" %} | {% if ingredient.fat_saturated %} {{ingredient.fat_saturated}} g {% else %} {% trans "n.A." %} {% endif %} |
{% trans "Others" %} | |
---|---|
{% trans "Fibres" %} | {% if ingredient.fibres %} {{ingredient.fibres}} g {% else %} {% trans "n.A." %} {% endif %} |
{% trans "Sodium" %} | {% if ingredient.sodium %} {{ingredient.sodium}} g {% else %} {% trans "n.A." %} {% endif %} |
{% blocktrans %}This exercise was submitted by {{username}}.{% endblocktrans %} {% endwith %}
{% trans 'Delete ingredient' %}
{% trans "Add new weight unit" %}
{% trans "Name" %} |
---|
{{unit.amount}} {{unit.unit.name}} = {{unit.gramm}}g |