{% from "macros/ui.html" import status_badge, action_buttons %} {% if manifest %} 1 %}class="ht-group-header"{% endif %}> {% if manifest.instance_count > 1 %} {{ manifest.app_key }} {% else %} {{ manifest.app_key }} {% endif %} {{ manifest.display_name }} {{ manifest.class_name }} {{ status_badge(manifest.status, block_reason=manifest.block_reason or '') }} {% if manifest.instance_count > 1 %} {{ manifest.instance_count }} instances {% endif %} {% if manifest.error_message %} {{ manifest.error_message }} {% else %} — {% endif %} {{ action_buttons(manifest.app_key, manifest.status, after_action="htmx.ajax('GET', '/ui/partials/manifest-list', {target: '#manifest-list', swap: 'innerHTML'})", show_labels=false) }} {% endif %}