{% 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 %}
{% if listing.rows %}| {{ 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 }} |