I have 6 sections to an automated email. If the {{#issues}} returnes a value the bottom boarder of the above paragraph renders. If it does not return a value then it does not render the bottom boarder.
Here is how each section is layed out.
<p style="border-bottom: 2px solid black; color:white; background-color:gray; font-size:30px;"> Needs Dev. Approval</p>
{{#issues}}
{{#if (labels.match("(DEV-APPROVAL)").size.gt(0))}}
<ul style="font-size:18px;">
<li><strong><a href="{{url}}">{{key}} - {{summary}}</a></strong>
<ul>
<strong><li>Description:</strong> {{description.html.remove("<p>").remove("</p>")}}</li>
</ul>
</li>
</ul>
{{/}}
{{/}}
Turns out it works just fine. When I view it in Gmail the boarder-bottom and spaces render correctly. They do not render properly using microsoft outlook.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.