{% extends "base.html" %} {% import "partials/detail_cards.html" as detail %} {% import "partials/icons.html" as icons %} {% import "partials/image_section.html" as img %} {% block title %}Brewlog · {{ roaster.name }}{% endblock %} {% block og_title %}{{ roaster.name }} — Brewlog{% endblock %} {% block og_description %} {{ roaster.name }} — {{ roaster.country_flag }} {{ roaster.country }}{% if let Some(c) = roaster.city %}, {{ c }}{% endif %} {% endblock %} {% block head %} {% endblock %} {% block content %}
{{ img::image_thumbnail("roaster", roaster.id, image_url, is_authenticated) }}

{{ roaster.name }}

Roasters · {{ roaster.created_date }}

{{ img::lightbox_script() }}

Details

Country
{% if !roaster.country_flag.is_empty() %} {{ roaster.country_flag }} {% endif %}{{ roaster.country }}
{% if let Some(c) = roaster.city %}
City
{{ c }}
{% endif %} {% if let Some(url) = roaster.homepage %}
Website
Visit Website
{% endif %}
{{ detail::map_with_legend(roaster.map_countries, roaster.map_max, roaster.legend_entries) }}
{% if is_authenticated %} {{ detail::delete_button("roaster", "/api/v1/roasters", roaster.id) }} {% endif %} {% endblock %}