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