styling
This commit is contained in:
parent
e9081b39d6
commit
43efb5210b
@ -6,6 +6,7 @@ use Illuminate\Bus\Queueable;
|
|||||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||||
use Illuminate\Notifications\Notification;
|
use Illuminate\Notifications\Notification;
|
||||||
use Illuminate\Notifications\Messages\MailMessage;
|
use Illuminate\Notifications\Messages\MailMessage;
|
||||||
|
use Illuminate\Support\HtmlString;
|
||||||
|
|
||||||
class InvalidEmail extends Notification implements ShouldQueue
|
class InvalidEmail extends Notification implements ShouldQueue
|
||||||
{
|
{
|
||||||
@ -54,8 +55,12 @@ class InvalidEmail extends Notification implements ShouldQueue
|
|||||||
|
|
||||||
return (new MailMessage)
|
return (new MailMessage)
|
||||||
->subject(trans('notifications.email.invalid.title', ['type' => $this->type]))
|
->subject(trans('notifications.email.invalid.title', ['type' => $this->type]))
|
||||||
->line(trans('notifications.email.invalid.description', ['email' => $this->email]))
|
->line(new HtmlString('<br>'))
|
||||||
->line($this->error)
|
->line(new HtmlString('<br>'))
|
||||||
|
->line(new HtmlString(trans('notifications.email.invalid.description', ['email' => $this->email])))
|
||||||
|
->line(new HtmlString('<br>'))
|
||||||
|
->line(new HtmlString('<br>'))
|
||||||
|
->line(new HtmlString('<i>' . $this->error . '</i>'))
|
||||||
->action(trans_choice('general.dashboards', 1), $dashboard_url);
|
->action(trans_choice('general.dashboards', 1), $dashboard_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ return [
|
|||||||
'invalid' => [
|
'invalid' => [
|
||||||
|
|
||||||
'title' => 'Invalid :type Email',
|
'title' => 'Invalid :type Email',
|
||||||
'description' => '<strong>:email</strong> email address has been reported as invalid and the person has been disabled. Please check the following error message and fix the email address:',
|
'description' => 'The :email email address has been reported as invalid, and the person has been disabled. Please check the following error message and fix the email address:',
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ return [
|
|||||||
'invalid_email' => [
|
'invalid_email' => [
|
||||||
|
|
||||||
'title' => 'Invalid :type Email',
|
'title' => 'Invalid :type Email',
|
||||||
'description' => '<strong>:email</strong> email address has been reported as invalid and the person has been disabled. Please check and fix the email address.',
|
'description' => 'The <strong>:email</strong> email address has been reported as invalid, and the person has been disabled. Please check and fix the email address.',
|
||||||
|
|
||||||
],
|
],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user