{% 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.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 %}
| 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 %} |
Not yet populated.
{% endif %}No dossier available for this wine.
{% endif %} {% elif tab == "bottles" %} {% if bottles %}| ID | Cellar | Shelf | Price | Status |
|---|---|---|---|---|
| {{ b.bottle_id }} | {{ b.cellar_name or "—" }} | {{ b.shelf or "—" }} | {% if b.price %}CHF {{ "%.2f"|format(b.price) }}{% else %}—{% endif %} | {{ b.status }} |
No bottles found for this wine.
{% endif %} {% elif tab == "raw" %} {% if dossier %}{{ dossier.raw }}
{% else %}
No dossier source available.
{% endif %} {% endif %} {% endblock %}