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
|
||||
12
resources/views/mail/pirep/accepted.blade.php
Normal file
12
resources/views/mail/pirep/accepted.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@component('mail::message')
|
||||
# PIREP Accepted!
|
||||
|
||||
Your PIREP has been accepted
|
||||
|
||||
@component('mail::button', ['url' => route('frontend.pireps.show', [$pirep->id])])
|
||||
View PIREP
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ config('app.name') }}
|
||||
@endcomponent
|
||||
12
resources/views/mail/pirep/rejected.blade.php
Normal file
12
resources/views/mail/pirep/rejected.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@component('mail::message')
|
||||
# PIREP Accepted!
|
||||
|
||||
Your PIREP has been rejected
|
||||
|
||||
@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