mirror of
https://github.com/flarum/core.git
synced 2025-08-10 18:35:56 +02:00
Fix notification emails
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
Hey {{ $user->username }}!
|
||||
|
||||
{{ $notification->sender->username }} replied to your post (#{{ $notification->post->number }}) in {{ $notification->post->discussion->title }}.
|
||||
{{ $blueprint->sender->username }} replied to your post (#{{ $blueprint->post->number }}) in {{ $blueprint->post->discussion->title }}.
|
||||
|
||||
{{ \Flarum\Core::config('base_url') }}/d/{{ $notification->reply->discussion_id }}/-/{{ $notification->reply->number }}
|
||||
{{ \Flarum\Core::config('base_url') }}/d/{{ $blueprint->reply->discussion_id }}/-/{{ $blueprint->reply->number }}
|
||||
|
||||
---
|
||||
|
||||
{{ strip_tags($notification->post->contentHtml) }}
|
||||
{{ strip_tags($blueprint->post->contentHtml) }}
|
||||
|
@@ -1,9 +1,9 @@
|
||||
Hey {{ $user->username }}!
|
||||
|
||||
{{ $notification->post->user->username }} mentioned you in a post in {{ $notification->post->discussion->title }}.
|
||||
{{ $blueprint->post->user->username }} mentioned you in a post in {{ $blueprint->post->discussion->title }}.
|
||||
|
||||
{{ \Flarum\Core::config('base_url') }}/d/{{ $notification->post->discussion_id }}/-/{{ $notification->post->number }}
|
||||
{{ \Flarum\Core::config('base_url') }}/d/{{ $blueprint->post->discussion_id }}/-/{{ $blueprint->post->number }}
|
||||
|
||||
---
|
||||
|
||||
{{ strip_tags($notification->post->contentHtml) }}
|
||||
{{ strip_tags($blueprint->post->contentHtml) }}
|
||||
|
Reference in New Issue
Block a user