1
0
mirror of https://github.com/flarum/core.git synced 2025-08-12 19:34:18 +02:00

Email notifications. Too easy!

This commit is contained in:
Toby Zerner
2015-05-19 11:02:02 +09:30
parent 4080a76a99
commit 978ecd369d
5 changed files with 53 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
Hey {{ $user->username }}!
{{ $notification->sender->username }} replied to your post (#{{ $notification->post->number }}) in {{ $notification->post->discussion->title }}.
{{ \Flarum\Core::config('base_url') }}/d/{{ $notification->reply->discussion_id }}/-/{{ $notification->reply->number }}
---
{{{ $notification->reply->contentPlain }}}

View File

@@ -0,0 +1,9 @@
Hey {{ $user->username }}!
{{ $notification->sender->username }} mentioned you in a post in {{ $notification->post->discussion->title }}.
{{ \Flarum\Core::config('base_url') }}/d/{{ $notification->post->discussion_id }}/-/{{ $notification->post->number }}
---
{{{ $notification->post->contentPlain }}}