styling notifications

This commit is contained in:
Denis Duliçi
2023-05-12 14:58:10 +03:00
parent 9e94dd9fac
commit c8a5127f65
5 changed files with 16 additions and 5 deletions

View File

@ -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);
}