Updates for @isset()

This commit is contained in:
David Bomba 2024-01-31 16:46:29 +11:00
parent 500594c613
commit 72e441c1c4
2 changed files with 3 additions and 10 deletions

View File

@ -20,6 +20,6 @@
{{ ctrans('texts.email_preferences') }}
</a>
</p>
@endif
@endisset
@endcomponent

View File

@ -45,13 +45,6 @@
@endif
@endisset
@if(isset($email_preferences))
<p>
<a href="{{ $email_preferences}} ">{{ ctrans('texts.email_preferences') }}</a>
</p>
@endif
@if(isset($unsubscribe_link))
@isset($email_preferences)
<p><a href="{{$unsubscribe_link}}">{{ ctrans('texts.unsubscribe') }}</a></p>
@endif
@endisset