Don't pass through the whole incident name, just the components
This commit is contained in:
@@ -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 !!}
|
||||
|
||||
Reference in New Issue
Block a user