{% from "ui.html" import badge with context %}
Last check: {% if last %} {{ badge(last.status) }} {{ last.message or ("waiting for the agent" if last.status == "pending" else "-") }} {{ last.created_at | clock }} {% else %} none yet {% endif %}