Boarder-Bottom does not render if the {{#issues}} returnes nothing

Tom Scoggin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2024

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;">&nbsp;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>&nbsp;{{description.html.remove("<p>").remove("</p>")}}</li>
</ul>
</li>
</ul>
{{/}}
{{/}}

1 answer

1 accepted

1 vote
Answer accepted
Tom Scoggin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2024

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events