styling notifications
This commit is contained in:
@ -6,6 +6,7 @@ use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Notifications\Notification;
|
||||
use Illuminate\Notifications\Messages\MailMessage;
|
||||
use Illuminate\Support\HtmlString;
|
||||
|
||||
class ExportCompleted extends Notification implements ShouldQueue
|
||||
{
|
||||
@ -52,6 +53,7 @@ class ExportCompleted extends Notification implements ShouldQueue
|
||||
{
|
||||
return (new MailMessage)
|
||||
->subject(trans('notifications.export.completed.title'))
|
||||
->line(new HtmlString('<br><br>'))
|
||||
->line(trans('notifications.export.completed.description'))
|
||||
->action(trans('general.download'), $this->download_url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user