Merge pull request #902 from cachethq/incident-email-component

Add the component name to incident emails, if applicable. Closes #794
This commit is contained in:
James Brooks
2015-08-15 09:03:49 +01:00
3 changed files with 13 additions and 4 deletions
@@ -9,6 +9,9 @@
<p>
{!! $status !!}
@if($hasComponent)
({{ $componentName }})
@endif
</p>
<p>
@@ -1,6 +1,9 @@
{!! trans('cachet.subscriber.email.incident.text', ['app_name' => Setting::get('app_name')]) !!}
{!! $status !!}
@if($hasComponent)
({{ $componentName }})
@endif
{!! $textContent !!}