mirror of
https://github.com/karatektus/pl_mail.git
synced 2026-10-25 10:04:18 +00:00
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>
10 lines
433 B
Twig
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 %}
|