fixed email blades

This commit is contained in:
denisdulici 2020-02-12 16:55:04 +03:00
parent 27e027c564
commit deef3c2076
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@
<table border="0" cellpadding="0" cellspacing="0"> <table border="0" cellpadding="0" cellspacing="0">
<tr> <tr>
<td> <td>
<a href="{{ $url }}" class="button button-{{ $color or 'blue' }}" target="_blank">{{ $slot }}</a> <a href="{{ $url }}" class="button button-{{ $color ?? 'blue' }}" target="_blank">{{ $slot }}</a>
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -27,7 +27,7 @@
<tr> <tr>
<td align="center"> <td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0"> <table class="content" width="100%" cellpadding="0" cellspacing="0">
{{ $header or '' }} {{ $header ?? '' }}
<!-- Email Body --> <!-- Email Body -->
<tr> <tr>
@ -38,14 +38,14 @@
<td class="content-cell"> <td class="content-cell">
{{ Illuminate\Mail\Markdown::parse($slot) }} {{ Illuminate\Mail\Markdown::parse($slot) }}
{{ $subcopy or '' }} {{ $subcopy ?? '' }}
</td> </td>
</tr> </tr>
</table> </table>
</td> </td>
</tr> </tr>
{{ $footer or '' }} {{ $footer ?? '' }}
</table> </table>
</td> </td>
</tr> </tr>