From a985b8cd1d7f1b73189a1f63f25d2c4aa5d1f04a Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 30 May 2025 12:16:09 +0200 Subject: Hide messages box if there are no messages Closes #233 --- templates/_checked_in.html.ep | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index d5d2792..92d9593 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -321,7 +321,7 @@ % if (@{stash('timeline') // []}) { %= include '_timeline_link', timeline => stash('timeline'), from_checkin => 1 % } - % if ($journey->{arr_name}) { + % if ($journey->{arr_name} and @{$journey->{extra_data}{him_msg} // []}) {
@@ -351,6 +351,8 @@ % }
+ % } + % if ($journey->{arr_name}) {
-- cgit v1.2.3