{# Shared fragments for the batch pages. Kept in a macro file: a template that defines its own macros cannot call imported macros that use `self::` (Tera resolves `self` against the caller), which breaks `pagination::bar`. Import order matters too: import `_pagination.html` before this file, or `pagination::bar`'s `self::num` fails to resolve. #} {% macro status_badge(status) %} {{ status | title }} {% endmacro status_badge %}