Files
Paul LütznerandClaude Opus 5.5 bcd332edf1 chore(dead-code): one shared toast turbo-stream partial
Twenty-one stream responses each spelled out the same append-to-
toast-region wrapper around _toast.html.twig. They now include
_partials/_toast.stream.html.twig with the same message and type, so the
markup is unchanged. Compose streams (owned elsewhere) and
_send_outcome (passes extra hide_after) are left as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-23 19:25:12 +02:00

10 lines
433 B
Twig

{#
A toast and nothing else.
Saving an attachment to a service changes nothing on screen — the message and
its attachments are exactly as they were — so there is no frame worth
replacing. The confirmation is the whole response, which also means the thread
keeps its scroll position.
#}
{% include '_partials/_toast.stream.html.twig' with { message: toastMessage|trans(toastParams), type: isError ? 'error' : 'success' } only %}