Add email preferences link to client email template

This commit is contained in:
Benjamin Beganović 2024-01-18 16:52:53 +01:00
parent 0b2e17b9d2
commit c68b1c07c7

View File

@ -163,7 +163,7 @@
{{ $slot ?? '' }} {{ $slot ?? '' }}
{!! $body ?? '' !!} {!! $body ?? '' !!}
<div> <div>
<a href="#" <a href="#"
style="display: inline-block;background-color: {{ $primary_color }}; color: #ffffff; text-transform: uppercase;letter-spacing: 2px; text-decoration: none; font-size: 13px; font-weight: 600;"> style="display: inline-block;background-color: {{ $primary_color }}; color: #ffffff; text-transform: uppercase;letter-spacing: 2px; text-decoration: none; font-size: 13px; font-weight: 600;">
@ -232,6 +232,21 @@
</div> </div>
</td> </td>
</tr> </tr>
@isset($email_preferences)
<tr>
<td bgcolor="#242424" cellpadding="20">
<div class="dark-bg-base"
style="padding-top: 10px;padding-bottom: 10px; background-color: #242424; border: 1px solid #c2c2c2; border-top-color: #242424; border-bottom-color: #242424;">
<a href="{{ $email_preferences }}">
<p style="text-align: center; color: #ffffff; font-size: 10px; font-family: Verdana, Geneva, Tahoma, sans-serif;">
{{ ctrans('texts.email_preferences') }}
</p>
</a>
</div>
</td>
</tr>
@endisset
</table> </table>
</td> </td>
</tr> </tr>