From b26ec1230c04efd430084bd14c1837954231bea5 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 18 Jun 2018 07:15:02 +0100 Subject: [PATCH] Fix app name and move subscription options into partial --- resources/views/notifications/incident/new.blade.php | 6 ++---- .../views/notifications/partials/subscription.blade.php | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 resources/views/notifications/partials/subscription.blade.php diff --git a/resources/views/notifications/incident/new.blade.php b/resources/views/notifications/incident/new.blade.php index c4c84775..22f4ddcc 100644 --- a/resources/views/notifications/incident/new.blade.php +++ b/resources/views/notifications/incident/new.blade.php @@ -8,10 +8,8 @@ @endcomponent Thanks,
-{{ config('app.name') }} +{{ Config::get('setting.app_name') }} -@component('mail::subcopy') -[{{ $unsubscribeText }}]({{ $unsubscribeUrl }}) — [{{ $manageSubscriptionText }}]({{ $manageSubscriptionUrl }}) -@endcomponent +@include('notifications.partials.subscription') @endcomponent diff --git a/resources/views/notifications/partials/subscription.blade.php b/resources/views/notifications/partials/subscription.blade.php new file mode 100644 index 00000000..6e8ebf3d --- /dev/null +++ b/resources/views/notifications/partials/subscription.blade.php @@ -0,0 +1,3 @@ +@component('mail::subcopy') +[{{ $unsubscribeText }}]({{ $unsubscribeUrl }}) — [{{ $manageSubscriptionText }}]({{ $manageSubscriptionUrl }}) +@endcomponent