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

{% if is_authenticated %} No gear added yet. Click the Add button to add your first piece of equipment. {% else %} No gear added yet. {% endif %}

{% else %}
{% call table::search_header(navigator, "#gear-list") %}
{% call table::sortable_header("Added", "created-at", navigator, "#gear-list") %} {% call table::sortable_header("Category", "category", navigator, "#gear-list") %} {% call table::sortable_header("Make", "make", navigator, "#gear-list") %} {% call table::sortable_header("Model", "model", navigator, "#gear-list") %} {% if is_authenticated %} {% endif %} {% for item in gear.items %} {% if is_authenticated %} {% endif %} {% endfor %}
Actions
{{ item.created_at }} {{ item.make }} {{ item.model }} {{ item.category_label }} {{ item.make }} {{ item.model }}
{% call icons::ellipsis_vertical("h-5 w-5") %}
{% if gear.items.is_empty() %}
No gear matches your search.
{% endif %} {% call table::pagination_header(gear, navigator, "#gear-list") %} {% if gear.has_next() %} {% endif %}
{% endif %}