{# Status badge fragment - expects 'value' variable in scope #} {% if value %} {{ value | replace("_", " ") | title }} {% else %} {% endif %}