391 Notification refactorings (#441)
* Refactor notifications to allow easier plugins * Notification refactoring * Formatting * Move news to NewsService; cleanup of events * More refactoring; added send email out for news item and the template * Formatting * Formatting
This commit is contained in:
12
resources/views/notifications/mail/news/news.blade.php
Normal file
12
resources/views/notifications/mail/news/news.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@component('mail::message')
|
||||
# {{ $news->subject }}
|
||||
|
||||
$news->body
|
||||
|
||||
@component('mail::button', ['url' => route('frontend.pireps.show', [$pirep->id])])
|
||||
View PIREP
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user