Use Notification/Notifiable (#379)
* Add migrations for notifiables * Configure spatie-backup to run as part of cron * Convert Mailer to Notification; add pirep notifications * Styling
This commit is contained in:
12
resources/views/mail/admin/pirep/submitted.blade.php
Normal file
12
resources/views/mail/admin/pirep/submitted.blade.php
Normal file
@@ -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
|
||||
9
resources/views/mail/admin/user/registered.blade.php
Normal file
9
resources/views/mail/admin/user/registered.blade.php
Normal file
@@ -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