{% extends "base.html" %} {% set active_nav = "cellar" %} {% block title %}{{ wine.wine_name }} {{ wine.vintage }} — Cellarbrain Explorer{% endblock %} {% block page_title %}{{ wine.wine_name }} {{ wine.vintage }}{% endblock %} {% block content %} ← Back to catalogue

{{ wine.wine_name }}

{{ wine.winery_name }} · {{ wine.vintage }} {% if wine.drinking_status %} {{ wine.drinking_status|replace("_", " ")|title }} {% endif %}

{% if wine.bottles_stored %}{{ wine.bottles_stored }} bottle{{ "s" if wine.bottles_stored != 1 }} stored{% endif %} {% if wine.is_favorite %} · ★ Favourite{% endif %}

{% if format_siblings %} {% endif %} {% if wine.best_pro_score %}{% endif %} {% set fg = wine.food_groups or (dossier.frontmatter.food_groups if dossier and dossier.frontmatter else none) %} {% if fg %}{% endif %}
Category{{ wine.category or "—" }}
Country{{ wine.country or "—" }}
Region{{ wine.region or "—" }}{% if wine.subregion %}, {{ wine.subregion }}{% endif %}
Grapes{{ wine.grapes or wine.primary_grape or "—" }}
Alcohol{% if wine.alcohol_pct %}{{ wine.alcohol_pct }}%{% else %}—{% endif %}
Price{% if wine.price %}CHF {{ "%.2f"|format(wine.price) }}{% else %}—{% endif %}
Volume{{ wine.volume_ml or 750 }} mL · {{ wine.bottle_format or "Standard" }}
Also available{% for sib in format_siblings %}{{ sib.bottle_format }} ({{ sib.volume_ml }} mL){% if not loop.last %}, {% endif %}{% endfor %}
Drink{{ wine.drink_from or "?" }}–{{ wine.drink_until or "?" }}
Optimal{{ wine.optimal_from or "?" }}–{{ wine.optimal_until or "?" }}
Best Score{{ wine.best_pro_score }}
Food Groups{% for g in fg %}{{ g|replace("_", " ")|title }}{% endfor %}
{% set ft = wine.food_tags or (dossier.frontmatter.food_tags if dossier and dossier.frontmatter else none) %} {% if ft %}
Food Pairings ({{ ft|length }} tags)
{% for t in ft %}{{ t|replace("-", " ")|replace("_", " ")|title }}{% endfor %}
{% endif %}
Dossier Bottles ({{ bottles|length }}) Raw MD
{% if tab == "dossier" %} {% if dossier and dossier.sections %}
{% for s in dossier.sections %} {{ s.heading }} {% endfor %}
{% for s in dossier.sections %}

{{ s.heading }}

{% if s.populated %} {{ s.html | safe }} {% else %}

Not yet populated.

{% endif %}
{% endfor %} {% else %}

No dossier available for this wine.

{% endif %} {% elif tab == "bottles" %} {% if bottles %}
{% for b in bottles %} {% endfor %}
IDCellarShelfPriceStatus
{{ b.bottle_id }} {{ b.cellar_name or "—" }} {{ b.shelf or "—" }} {% if b.price %}CHF {{ "%.2f"|format(b.price) }}{% else %}—{% endif %} {{ b.status }}
{% else %}

No bottles found for this wine.

{% endif %} {% elif tab == "raw" %} {% if dossier %}
{{ dossier.raw }}
{% else %}

No dossier source available.

{% endif %} {% endif %} {% endblock %}