Skip to content

Commit

Permalink
Use settings.app_name and app.name for fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Dec 3, 2017
1 parent 5b460d2 commit 81956a4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions resources/views/vendor/mail/html/message.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
{{ setting('app_name', config('app.name')) }}
@endcomponent
@endslot

Expand All @@ -21,7 +21,7 @@
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
© {{ date('Y') }} {{ setting('app_name', config('app.name')) }}. All rights reserved.
@endcomponent
@endslot
@endcomponent
4 changes: 2 additions & 2 deletions resources/views/vendor/mail/markdown/message.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ config('app.name') }}
{{ setting('app_name', config('app.name')) }}
@endcomponent
@endslot

Expand All @@ -21,7 +21,7 @@
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
© {{ date('Y') }} {{ setting('app_name', config('app.name')) }}. All rights reserved.
@endcomponent
@endslot
@endcomponent
6 changes: 3 additions & 3 deletions resources/views/vendor/notifications/email.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<tr>
<td style="{{ $style['email-masthead'] }}">
<a style="{{ $fontFamily }} {{ $style['email-masthead_name'] }}" href="{{ url('/') }}" target="_blank">
{{ setting('app_name') }}
{{ {{ setting('app_name', config('app.name')) }} }}
</a>
</td>
</tr>
Expand Down Expand Up @@ -140,7 +140,7 @@ class="button"

<!-- Salutation -->
<p style="{{ $style['paragraph'] }}">
Regards,<br>{{ setting('app_name') }}
Regards,<br>{{ {{ setting('app_name', config('app.name')) }} }}
</p>

<!-- Sub Copy -->
Expand Down Expand Up @@ -176,7 +176,7 @@ class="button"
<td style="{{ $fontFamily }} {{ $style['email-footer_cell'] }}">
<p style="{{ $style['paragraph-sub'] }}">
&copy; {{ date('Y') }}
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ setting('app_name') }}</a>.
<a style="{{ $style['anchor'] }}" href="{{ url('/') }}" target="_blank">{{ {{ setting('app_name', config('app.name')) }} }}</a>.
All rights reserved.
</p>
</td>
Expand Down

0 comments on commit 81956a4

Please sign in to comment.