mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Fixes {% partial %} node for mail templates Trim body var for text emails Style code nodes
26 lines
870 B
HTML
26 lines
870 B
HTML
name = "Button"
|
|
==
|
|
{{ body|trim }} <{{ url }}>
|
|
==
|
|
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url }}" class="button button-{{ type ?: 'primary' }}" target="_blank">
|
|
{{ body }}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|