Don't pass through the whole incident name, just the components

This commit is contained in:
James Brooks
2015-08-14 08:47:28 +01:00
parent 808bc5201d
commit 0bff2f9215
3 changed files with 4 additions and 4 deletions
@@ -9,7 +9,7 @@
<p>
{!! $status !!}
@if($incident->component)
@if(isset($incident->component))
({{ $incident->component->name }})
@endif
</p>
@@ -1,8 +1,8 @@
{!! trans('cachet.subscriber.email.incident.text', ['app_name' => Setting::get('app_name')]) !!}
{!! $status !!}
@if($incident->component)
({{ $incident->component->name }})
@if($component_name)
({{ $component_name }})
@endif
{!! $textContent !!}