{# Shared render macros. The chip/badge/absence vocabulary comes from the kit's template pack (mgf/macros.html — M1 P4.2, the copy-paste that lived here pre-0.4); these thin wrappers keep ProofWarden's historical call sites (m.status_chip / m.origin_badge / m.empty). #} {% import "mgf/macros.html" as kit %} {# Test-state chip — the brand state-chip; `running` overrides the committed last_status. #} {%- macro status_chip(value, running=False) -%}{{ kit.status_chip(value, running=running) }}{%- endmacro -%} {# Origin badge — who submitted the run (web · cli · agent · ci). #} {%- macro origin_badge(origin) -%}{{ kit.origin_badge(origin) }}{%- endmacro -%} {# Honest-absence card — data present but this slice is empty, or nothing wired yet. #} {%- macro empty(icon, title, desc) -%}{{ kit.empty_state(title, desc, icon_glyph=icon) }}{%- endmacro -%}