snipe_it/resources/views/notifications/Test.blade.php
Oliver Walerys c3166d491a
[FIX] Lite test email won't use the mail component (#9092)
* [FIX] Lite test email won't use the mail component

* Revert "[FIX] Lite test email won't use the mail component"

This reverts commit 6dab9aa1a8cd4addfc7af65f2f7a2f1a0d6d2531.

* Fix check for snipeSettings

* Remove random text from message template

* Revert "Fix check for snipeSettings"

This reverts commit 887dcc7bbc4df199da545950bdee661e4d662a13.

* Fix test notification with setupCompleted
2021-02-23 14:49:40 -08:00

11 lines
194 B
PHP

@if ($setupCompleted = \App\Models\Setting::setupCompleted())
@component('mail::message')
@endif
{{ trans('mail.test_mail_text') }}
Thanks,
Snipe-IT
@if ($setupCompleted)
@endcomponent
@endif