Skip to content

Commit

Permalink
add section if else on html file
Browse files Browse the repository at this point in the history
  • Loading branch information
vittoriaThinkst committed Jul 22, 2024
1 parent 59d1183 commit bc32257
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/emails/notification.html
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
<!--[if mso | IE]></td></tr></table><![endif]-->
<!-- Source IP -->
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#FFFFFF" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
{% if BasicDetails['src_ip'] %}
<div style="background:#FFFFFF;background-color:#FFFFFF;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#FFFFFF;background-color:#FFFFFF;width:100%;">
Expand Down Expand Up @@ -412,6 +413,7 @@
</tbody>
</table>
</div>
{% endif %}
<!--[if mso | IE]></td></tr></table><![endif]-->
<!-- Day & Time -->
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#FFFFFF" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
Expand Down Expand Up @@ -493,6 +495,7 @@
<!--[if mso | IE]></td></tr></table><![endif]-->
<!-- Browser -->
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#FFFFFF" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
{% if BasicDetails['useragent'] %}
<div style="background:#FFFFFF;background-color:#FFFFFF;margin:0px auto;max-width:600px;">
<table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
style="background:#FFFFFF;background-color:#FFFFFF;width:100%;">
Expand Down Expand Up @@ -564,6 +567,7 @@
</tbody>
</table>
</div>
{% endif %}
<!--[if mso | IE]></td></tr></table><![endif]-->
<!-- CTA -->
<!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" style="width:600px;" width="600" bgcolor="#FFFFFF" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]-->
Expand Down

0 comments on commit bc32257

Please sign in to comment.