{% from "macros/ui.html" import status_badge, action_buttons %} {% if app %} {{ app.app_key }} {{ app.class_name }} {{ status_badge(app.status) }} {% if app.error_message %} {{ app.error_message }} {% else %} — {% endif %} {{ action_buttons(app.app_key, app.status, after_action="htmx.trigger('#app-list', 'htmx:load')", show_labels=false) }} {% else %} App not found. {% endif %}