Remove references to component in the Maintenance emails. Fixes #2153

This commit is contained in:
James Brooks
2016-10-08 11:01:19 +01:00
parent 4f807e6d93
commit dfeab93d88
3 changed files with 1 additions and 6 deletions

View File

@@ -110,8 +110,6 @@ class SendMaintenanceEmailNotificationHandler
'subject' => trans('cachet.subscriber.email.maintenance.subject', [
'name' => $incident->name,
]),
'has_component' => ($event->incident->component) ? true : false,
'component_name' => $component ? $component->name : null,
'name' => $incident->name,
'timestamp' => $incident->scheduled_at_formatted,
'status' => $incident->human_status,

View File

@@ -7,7 +7,7 @@
<tr>
<td>
<p class="compressed">
<strong>{!! $status !!} @if($has_component) ({{ $component_name }}) @endif</strong>
<strong>{!! $status !!}</strong>
{!! $html_content !!}
{!! $timestamp !!}
</p>

View File

@@ -4,9 +4,6 @@
{!! $text_content !!}
{!! $timestamp !!}
@if($has_component)
({{ $component_name }})
@endif
{!! trans('cachet.subscriber.email.manage') !!} {{ $manage_link }}
{!! trans('cachet.subscriber.email.unsubscribe') !!} {{ $unsubscribe_link }}