Skip to content

Commit

Permalink
fix: no bullet for one notif in push
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianaCeric committed Nov 29, 2023
1 parent 0a1882c commit 00f1e3d
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/main/resources/templates/MonitoredTripPush.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@
- iOS: 178 characters over up to 4 lines,
- Android: 240 characters (We are not using notification title at this time).
The max length is thus 178 characters.
-->${tripName}
<#list notifications as notification>
${notification}
</#list>
- List alerts with bullets if there are more than one of them.
-->
<#if notifications?size > 1>
<#list notifications as notification>
${notification}
</#list>
<#else>
<#list notifications as notification>
${notification}
</#list>
</#if>

0 comments on commit 00f1e3d

Please sign in to comment.