Add the component name to incident emails, if applicable. Closes #794

This commit is contained in:
James Brooks
2015-08-13 23:02:33 +01:00
parent 0194dbb634
commit 808bc5201d
3 changed files with 7 additions and 0 deletions
@@ -69,6 +69,7 @@ class SendIncidentEmailNotificationHandler
$mail = [
'email' => $subscriber->email,
'subject' => 'New incident reported.',
'incident' => $event->incident,
'status' => $data->humanStatus,
'htmlContent' => $data->formattedMessage,
'textContent' => $data->message,