{% load static %} {% load mathfilters %} TestTubeYumYums
{% if user.is_authenticated %}

Feeling under the weather but craving tasty delights? Concerned about your go-to foods' impact on health? Worry not! Upload your test results for yummy health-conscious recommendations. 🍲🩸

{% if analysis %}

Report Analysis

{{ analysis }}

{% endif %} {% if yum_yums %}

Recommended foods

{% for yumYum in yum_yums %}
{{ yumYum.name }}
{% if yumYum.reliability == "Excellent" %}
{% elif yumYum.reliability == "Good" %}
{% endif %}
{{ yumYum.name }}
{% if yumYum.type == 'Vegetarian' %} {{ yumYum.type }} {% elif yumYum.type == 'Vegan' %} {{ yumYum.type }} {% elif yumYum.type == 'Non-Vegetarian' %} {{ yumYum.type }} {% endif %}

{{yumYum.short_description }}

{% with result=yumYum.calories|div:100|mul:yumYum.recommended_portion %} {{ result|floatformat }} {% endwith %} kcal
{{yumYum.recommended_portion }}g
{% endfor %}
{% elif no_entries_yet %}

No reports yet. Upload test results to enjoy food recommendations.

{% endif %}
{% else %}
{% endif %} {% csrf_token %}