{% extends "base.html" %} {% from "_macros.html" import state_chip, avatar %} {% set active = "type:" ~ entity_type %} {% block title %}{{ type_title(entity_type) }}{% endblock %} {% block topbar %}{{ icon(TYPE_ICONS.get(entity_type, 'circle-dashed')) }} {{ type_title(entity_type) }}{% endblock %} {% block content %}
{{ icon("list-check") }} {% if state %}{{ state|capitalize }}{% else %}All{% endif %} ยท {{ "{:,}".format(listing.total) }} Active {{ counts.get('active', 0) }} Provisional {{ counts.get('provisional', 0) }}
{% if listing.rows %} {% for r in listing.rows %} {% endfor %}
{{ icon("id", 14) }} Name {{ icon("circle-dashed", 14) }} State {{ icon("users", 14) }} Observations {{ icon("database", 14) }} Sources {{ icon("list-check", 14) }} Open reviews {{ icon("hash", 14) }} Id
{{ avatar(r.name or r.entity_id) }}{{ r.name or r.entity_id }} {{ state_chip(r.state) }} {{ "{:,}".format(r.observations) }} {{ r.sources }} {% if r.open_reviews %}{{ plural(r.open_reviews, 'review') }}{% endif %} {{ r.entity_id }}
{{ listing.offset + 1 }}โ€“{{ listing.offset + listing.rows|length }} of {{ "{:,}".format(listing.total) }} {% if page > 1 %}Previous{% endif %} {% if listing.offset + listing.rows|length < listing.total %}Next{% endif %}
{% else %}
No {{ type_title(entity_type)|lower }}{% if q %} match โ€œ{{ q }}โ€{% endif %}.
{% endif %} {% endblock %}