2017-09-14 22:21:00 +03:00
|
|
|
|
@component('mail::message')
|
|
|
|
|
{{-- Greeting --}}
|
|
|
|
|
@if (! empty($greeting))
|
|
|
|
|
# {{ $greeting }}
|
|
|
|
|
@else
|
|
|
|
|
@if ($level == 'error')
|
|
|
|
|
# Whoops!
|
|
|
|
|
@else
|
|
|
|
|
# Hello!
|
|
|
|
|
@endif
|
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
{{-- Intro Lines --}}
|
|
|
|
|
@foreach ($introLines as $line)
|
|
|
|
|
{{ $line }}
|
|
|
|
|
|
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
{{-- Action Button --}}
|
|
|
|
|
@isset($actionText)
|
|
|
|
|
<?php
|
|
|
|
|
switch ($level) {
|
|
|
|
|
case 'success':
|
|
|
|
|
$color = 'green';
|
|
|
|
|
break;
|
|
|
|
|
case 'error':
|
|
|
|
|
$color = 'red';
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
$color = 'blue';
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
|
|
|
|
|
{{ $actionText }}
|
|
|
|
|
@endcomponent
|
|
|
|
|
@endisset
|
|
|
|
|
|
|
|
|
|
{{-- Outro Lines --}}
|
|
|
|
|
@foreach ($outroLines as $line)
|
|
|
|
|
{{ $line }}
|
|
|
|
|
|
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
|
|
<!-- Salutation -->
|
|
|
|
|
@if (! empty($salutation))
|
|
|
|
|
{{ $salutation }}
|
|
|
|
|
@else
|
2017-11-15 21:33:12 +03:00
|
|
|
|
Regards,<br>{{ setting('general.company_name', config('app.name')) }}
|
2017-09-14 22:21:00 +03:00
|
|
|
|
@endif
|
|
|
|
|
|
|
|
|
|
<!-- Subcopy -->
|
|
|
|
|
@isset($actionText)
|
|
|
|
|
@component('mail::subcopy')
|
|
|
|
|
If you’re having trouble clicking the "{{ $actionText }}" button, copy and paste the URL below
|
|
|
|
|
into your web browser: [{{ $actionUrl }}]({{ $actionUrl }})
|
|
|
|
|
@endcomponent
|
|
|
|
|
@endisset
|
|
|
|
|
@endcomponent
|