book cases added

This commit is contained in:
Benjamin Takats
2022-12-07 14:57:15 +01:00
parent e5b4666d4e
commit ce8f87db6f
59 changed files with 2175 additions and 142 deletions

View File

@@ -0,0 +1,24 @@
@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