Commit 77addbcb authored by Michael Danielczok's avatar Michael Danielczok

refactor: Do not generate empty section / block in email template, if email body is empty.

parent b5866929
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
{template_event name="quiqqer::quiqqer::mail::bodyAfterHeader"} {template_event name="quiqqer::quiqqer::mail::bodyAfterHeader"}
{if $mailBody}
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr> <tr>
<td bgcolor="#ffffff" align="center" style="padding: 70px 15px 70px 15px;" class="section-padding"> <td bgcolor="#ffffff" align="center" style="padding: 70px 15px 70px 15px;" class="section-padding">
...@@ -49,5 +50,6 @@ ...@@ -49,5 +50,6 @@
</td> </td>
</tr> </tr>
</table> </table>
{/if}
{template_event name="quiqqer::quiqqer::mail::bodyEnd"} {template_event name="quiqqer::quiqqer::mail::bodyEnd"}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment