From 00f1e3d086d69d415f267f559866ad3963537656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adriana=20Ceri=C4=87?= <62163307+AdrianaCeric@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:29:35 -0500 Subject: [PATCH] fix: no bullet for one notif in push --- .../resources/templates/MonitoredTripPush.ftl | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/main/resources/templates/MonitoredTripPush.ftl b/src/main/resources/templates/MonitoredTripPush.ftl index 070f3cf68..2178088c7 100644 --- a/src/main/resources/templates/MonitoredTripPush.ftl +++ b/src/main/resources/templates/MonitoredTripPush.ftl @@ -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} - \ No newline at end of file + - List alerts with bullets if there are more than one of them. +--> +<#if notifications?size > 1> + <#list notifications as notification> + • ${notification} + +<#else> + <#list notifications as notification> + ${notification} + + \ No newline at end of file