mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 21:49:01 +01:00
Use settings.app_name and app.name for fallback
This commit is contained in:
parent
5b460d2cd4
commit
81956a4224
@ -2,7 +2,7 @@
|
|||||||
{{-- Header --}}
|
{{-- Header --}}
|
||||||
@slot('header')
|
@slot('header')
|
||||||
@component('mail::header', ['url' => config('app.url')])
|
@component('mail::header', ['url' => config('app.url')])
|
||||||
{{ config('app.name') }}
|
{{ setting('app_name', config('app.name')) }}
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
{{-- Footer --}}
|
{{-- Footer --}}
|
||||||
@slot('footer')
|
@slot('footer')
|
||||||
@component('mail::footer')
|
@component('mail::footer')
|
||||||
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
© {{ date('Y') }} {{ setting('app_name', config('app.name')) }}. All rights reserved.
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endslot
|
@endslot
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{-- Header --}}
|
{{-- Header --}}
|
||||||
@slot('header')
|
@slot('header')
|
||||||
@component('mail::header', ['url' => config('app.url')])
|
@component('mail::header', ['url' => config('app.url')])
|
||||||
{{ config('app.name') }}
|
{{ setting('app_name', config('app.name')) }}
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endslot
|
@endslot
|
||||||
|
|
||||||
@ -21,7 +21,7 @@
|
|||||||
{{-- Footer --}}
|
{{-- Footer --}}
|
||||||
@slot('footer')
|
@slot('footer')
|
||||||
@component('mail::footer')
|
@component('mail::footer')
|
||||||
© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.
|
© {{ date('Y') }} {{ setting('app_name', config('app.name')) }}. All rights reserved.
|
||||||
@endcomponent
|
@endcomponent
|
||||||
@endslot
|
@endslot
|
||||||
@endcomponent
|
@endcomponent
|
||||||
|
@ -71,7 +71,7 @@ $style = [
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="{{ $style['email-masthead'] }}">
|
<td style="{{ $style['email-masthead'] }}">
|
||||||
<a style="{{ $fontFamily }} {{ $style['email-masthead_name'] }}" href="{{ url('/') }}" target="_blank">
|
<a style="{{ $fontFamily }} {{ $style['email-masthead_name'] }}" href="{{ url('/') }}" target="_blank">
|
||||||
{{ setting('app_name') }}
|
{{ {{ setting('app_name', config('app.name')) }} }}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -140,7 +140,7 @@ $style = [
|
|||||||
|
|
||||||
<!-- Salutation -->
|
<!-- Salutation -->
|
||||||
<p style="{{ $style['paragraph'] }}">
|
<p style="{{ $style['paragraph'] }}">
|
||||||
Regards,<br>{{ setting('app_name') }}
|
Regards,<br>{{ {{ setting('app_name', config('app.name')) }} }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<!-- Sub Copy -->
|
<!-- Sub Copy -->
|
||||||
@ -176,7 +176,7 @@ $style = [
|
|||||||
<td style="{{ $fontFamily }} {{ $style['email-footer_cell'] }}">
|
<td style="{{ $fontFamily }} {{ $style['email-footer_cell'] }}">
|
||||||
<p style="{{ $style['paragraph-sub'] }}">
|
<p style="{{ $style['paragraph-sub'] }}">
|
||||||
© {{ date('Y') }}
|
© {{ 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.
|
All rights reserved.
|
||||||
</p>
|
</p>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user