{# tickets/_card.html — the open tickets a host's, monitor's or container's
page lists, loaded into it; nothing but the button when there are none. #}
{% set can_edit = session.user_role in ('operator', 'admin') %}
{% set query = ({"host": host} if host else {"subject": subject}) %}
{% if tickets or can_edit %}