From 7be3a4219ef469565ac1ae9958865f64de035901 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 4 Jun 2019 21:12:36 +0200 Subject: checked in: Show QoS messages before departure and HIM messages at all times --- templates/_checked_in.html.ep | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/_checked_in.html.ep') diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep index df5d260..184b11a 100644 --- a/templates/_checked_in.html.ep +++ b/templates/_checked_in.html.ep @@ -114,7 +114,7 @@

% } - % if (@{$journey->{messages} // []} > 0 and $journey->{messages}[0]) { + % if (@{$journey->{messages} // []} or @{$journey->{extra_data}{him_msg} // []} or @{$journey->{extra_data}{qos_msg} // []}) {

% } -- cgit v1.2.3