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:
@@ -0,0 +1,12 @@
|
||||
@component('mail::message')
|
||||
# New PIREP Submitted
|
||||
|
||||
A new PIREP has been submitted by {{ $pirep->user->ident }} {{ $pirep->user->name }}
|
||||
|
||||
@component('mail::button', ['url' => route('admin.pireps.edit', [$pirep->id])])
|
||||
View PIREP
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
@@ -0,0 +1,9 @@
|
||||
@component('mail::message')
|
||||
A new user has signed up!
|
||||
|
||||
Name: {{ $user->name }}!
|
||||
Email: {{ $user->email }}
|
||||
State: {{ UserState::label($user->state) }}
|
||||
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user