{# Fragments several areas share. Presentation only — no macro here decides anything, and none takes a value that is not already on a payload. #} {% macro failed(panel) %} {# A panel whose operation failed, rendered where it sits so the rest of the page still says what it knows. The error's type, message and hint are the same three fields every other surface reports; nothing is softened and nothing is invented. #}
{{ panel.op }} failed
{% if panel.error %}{{ panel.error.type }}
{{ panel.error.message }}
{% if panel.error.hint %}{{ panel.error.hint }}
{% endif %} {% endif %}{{ item.quote }}{% endif %}
{{ message }}
{% endmacro %}