Merge pull request #3540 from jzinkweg/feature/incident-update-mail
Include incident update message in mail notification
This commit is contained in:
@@ -78,6 +78,7 @@ class IncidentUpdatedNotification extends Notification
|
||||
->subject(trans('notifications.incident.update.mail.subject'))
|
||||
->markdown('notifications.incident.update', [
|
||||
'incident' => $this->update->incident,
|
||||
'update' => $this->update,
|
||||
'content' => $content,
|
||||
'actionText' => trans('notifications.incident.new.mail.action'),
|
||||
'actionUrl' => cachet_route('incident', [$this->update->incident]),
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
@component('mail::message')
|
||||
# {{ trans('notifications.incident.update.mail.title', ['name' => $incidentName, 'new_status' => $newStatus]) }}
|
||||
|
||||
{{ $content }}
|
||||
{{ $update->message }}
|
||||
|
||||
@component('mail::button', ['url' => $actionUrl])
|
||||
{{ $actionText }}
|
||||
@endcomponent
|
||||
|
||||
Thanks,<br>
|
||||
{{ Config::get('setting.app_name') }}
|
||||
|
||||
@include('notifications.partials.subscription')
|
||||
|
||||
@endcomponent
|
||||
@endcomponent
|
||||
|
||||
Reference in New Issue
Block a user