Remove references to component in the Maintenance emails. Fixes #2153
This commit is contained in:
@@ -110,8 +110,6 @@ class SendMaintenanceEmailNotificationHandler
|
|||||||
'subject' => trans('cachet.subscriber.email.maintenance.subject', [
|
'subject' => trans('cachet.subscriber.email.maintenance.subject', [
|
||||||
'name' => $incident->name,
|
'name' => $incident->name,
|
||||||
]),
|
]),
|
||||||
'has_component' => ($event->incident->component) ? true : false,
|
|
||||||
'component_name' => $component ? $component->name : null,
|
|
||||||
'name' => $incident->name,
|
'name' => $incident->name,
|
||||||
'timestamp' => $incident->scheduled_at_formatted,
|
'timestamp' => $incident->scheduled_at_formatted,
|
||||||
'status' => $incident->human_status,
|
'status' => $incident->human_status,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<p class="compressed">
|
<p class="compressed">
|
||||||
<strong>{!! $status !!} @if($has_component) ({{ $component_name }}) @endif</strong>
|
<strong>{!! $status !!}</strong>
|
||||||
{!! $html_content !!}
|
{!! $html_content !!}
|
||||||
{!! $timestamp !!}
|
{!! $timestamp !!}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -4,9 +4,6 @@
|
|||||||
{!! $text_content !!}
|
{!! $text_content !!}
|
||||||
{!! $timestamp !!}
|
{!! $timestamp !!}
|
||||||
|
|
||||||
@if($has_component)
|
|
||||||
({{ $component_name }})
|
|
||||||
@endif
|
|
||||||
{!! trans('cachet.subscriber.email.manage') !!} {{ $manage_link }}
|
{!! trans('cachet.subscriber.email.manage') !!} {{ $manage_link }}
|
||||||
|
|
||||||
{!! trans('cachet.subscriber.email.unsubscribe') !!} {{ $unsubscribe_link }}
|
{!! trans('cachet.subscriber.email.unsubscribe') !!} {{ $unsubscribe_link }}
|
||||||
|
|||||||
Reference in New Issue
Block a user