{% if data.image %}
{{'wine.field.image.error.notfound' | translate}}
{% endif %}

{{data.name}}

{% if data.articlenumber %}
{{'wine.field.articlenumber' | translate}}: {{data.articlenumber}}
{% endif %} {% if data.categories %} {% endif %} {% if data.grapetypeIds %} {% endif %} {% if data.countrycode %} {% endif %} {% if data.region %} {% endif %} {% if data.vintage %} {% endif %} {% if data.tastes_id %} {% endif %} {% if data.quality %} {% endif %} {% if data.bottlesize > 0 %} {% endif %} {% if data.alcohol > 0 %} {% endif %} {% if data.sweetness > 0 %} {% endif %} {% if data.acid > 0 %} {% endif %} {% if data.place %} {% endif %} {% if data.drinktemperature %} {% endif %}
{{'wine.field.category' | translate}} {% for category in data.categories %} {{ category.name }} {% endfor %}
{{'wine.field.grapetypes.label' | translate}} {% for grapetype in data.grapetypeIds %} {{ ('grapetypes.' ~ grapetype ~ '.name') | translate }}{% if not loop.last %}, {% endif %} {% endfor %}
{{'wine.field.countrycode' | translate}} {{ ('countries.' ~ data.countrycode) | translate}}
{{'wine.field.region' | translate}} {{ ('wineregions.' ~ data.countrycode ~ '.' ~ data.region) | translate}}
{{'wine.field.vintage' | translate}} {{ data.vintage}}
{{'wine.field.taste' | translate}} {{ data.tastes_id }}
{{'wine.field.quality' | translate}} {{ ('qualitytypes.' ~ data.countrycode ~ '.' ~ data.quality) | translate}} {{data.quality_note}}
{{'wine.field.bottlesize' | translate}} {{ data.bottlesize|number_format(3, ',', '.') }} l
{{'wine.field.alcohol' | translate}} {{ data.alcohol|number_format(1, ',', '.') }} % Vol.
{{'wine.field.sweetness' | translate}} {{ data.sweetness|number_format(1, ',', '.') }} g/l
{{'wine.field.acid' | translate}} {{ data.acid|number_format(1, ',', '.') }} g/l
{{'wine.field.place' | translate}} {{ data.place }}
{{'wine.field.drinktemperature' | translate}} {{ data.drinktemperature }} °C
{% if data.description %}

{{'wine.field.description' | translate}}

{{data.description|nl2br}}

{% endif %} {% if data.savours %}
{% set foodSavours = data.savours | filter(s => s.category != 'occasions') %} {% set occasionSavours = data.savours | filter(s => s.category == 'occasions') %} {% if foodSavours | length > 0 %}

{{ 'wine.vinougusto.foodAdvice' | translate }}:

{% for savour in foodSavours %}{{ ('savours.' ~ savour.name) | translate }}{% if not loop.last %}, {% endif %}{% endfor %}

{% endif %} {% if occasionSavours | length > 0 %}

{{ 'wine.vinougusto.occasionAdvice' | translate }}:

{% for savour in occasionSavours %}{{ ('savours.' ~ savour.name) | translate }}{% if not loop.last %}, {% endif %}{% endfor %}

{% endif %}
{% endif %}