mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
25 lines
1018 B
PHP
25 lines
1018 B
PHP
@component('mail::message')
|
|
# {{ __('comments::notifications.approved_comment_mail_title', [
|
|
'commentable_name' => $topLevelComment->commentable->commentableName(),
|
|
'commentable_url' => $topLevelComment->commentable->commentUrl(),
|
|
'commentator_name' => $comment->commentatorProperties()->name ?? 'anonymous',
|
|
]) }}
|
|
|
|
{{ __('comments::notifications.approved_comment_mail_body', [
|
|
'commentable_name' => $topLevelComment->commentable->commentableName(),
|
|
'commentable_url' => $topLevelComment->commentable->commentUrl(),
|
|
'commentator_name' => $comment->commentatorProperties()->name ?? 'anonymous',
|
|
]) }}
|
|
|
|
{!! $comment->text !!}
|
|
|
|
@component('mail::button', ['url' => $comment->commentUrl()])
|
|
{{ __('comments::notifications.view_comment') }}
|
|
@endcomponent
|
|
|
|
@if($unsubscribeUrl = $commentator->unsubscribeFromCommentNotificationsUrl($comment))
|
|
<a href="{{ $unsubscribeUrl }}">Unsubscribe from receive notification about {{ $topLevelComment->commentable->commentableName() }}</a>
|
|
@endif
|
|
|
|
@endcomponent
|