mirror of
https://github.com/flarum/framework.git
synced 2025-07-01 08:51:24 +08:00
17 lines
626 B
PHP
17 lines
626 B
PHP
@php
|
|
/** @var \Flarum\Messages\Notification\MessageReceivedBlueprint $blueprint */
|
|
@endphp
|
|
|
|
<x-mail::html.notification>
|
|
<x-slot:body>
|
|
{!! $formatter->convert($translator->trans('flarum-messages.email.message_received.html.body', [
|
|
'{user_display_name}' => $blueprint->message->user->display_name,
|
|
'{url}' => $url->to('forum')->route('messages.dialog', ['id' => $blueprint->message->dialog_id, 'near' => $blueprint->message->id])
|
|
])) !!}
|
|
</x-slot:body>
|
|
|
|
<x-slot:preview>
|
|
{!! $blueprint->message->formatContent() !!}
|
|
</x-slot:preview>
|
|
</x-mail::html.notification>
|