[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 6dab9aa1a8.

* Fix check for snipeSettings

* Remove random text from message template

* Revert "Fix check for snipeSettings"

This reverts commit 887dcc7bbc.

* Fix test notification with setupCompleted
This commit is contained in:
Oliver Walerys 2021-02-23 17:49:40 -05:00 committed by GitHub
parent 763e17f491
commit c3166d491a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -45,7 +45,7 @@ Snipe-IT
@endif
@if ($snipeSettings->privacy_policy_link!='')
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>ldfkgjg
<a href="{{ $snipeSettings->privacy_policy_link }}">{{ trans('admin/settings/general.privacy_policy') }}</a>
@endif
@endcomponent