{% import "partials/lists/table.html" as table %} {% import "partials/icons.html" as icons %}
{% if roasts.items.is_empty() && !navigator.has_search() %}

{% if is_authenticated %} No roasts added yet. Click the Add button to create your first roast. {% else %} No roasts added yet. {% endif %}

{% else %}
{% call table::search_header(navigator, "#roast-list") %}
{% call table::sortable_header("Added", "created-at", navigator, "#roast-list") %} {% call table::sortable_header("Roast", "name", navigator, "#roast-list") %} {% call table::sortable_header("Origin", "origin", navigator, "#roast-list") %} {% if is_authenticated %} {% endif %} {% for roast in roasts.items %} {% if !roast.producer.is_empty() %} {% endif %} {% if is_authenticated %} {% endif %} {% if is_authenticated %} {% endif %} {% endfor %}
Tasting NotesActions
{{ roast.created_date }}
{{ roast.name }}
{{ roast.roaster_label }} {{ roast.origin }} {% if !roast.producer.is_empty() %} {% endif %} {{ roast.producer }} {% if !roast.tasting_notes.is_empty() %}
{% for note in roast.tasting_notes %} {{ note.label }} {% endfor %}
{% else %} No Notes {% endif %}
{% if roasts.items.is_empty() %}
No roasts match your search.
{% endif %} {% call table::pagination_header(roasts, navigator, "#roast-list") %} {% if roasts.has_next() %} {% endif %}
{% endif %}