From c32b93ff4da116921aa5ac8da4dcfddbf02a2d55 Mon Sep 17 00:00:00 2001 From: Derf Null Date: Fri, 23 Jun 2023 21:04:25 +0200 Subject: _public_status_card: remove superfluous public_level check arr_name is only set if the user may see the journey --- templates/_public_status_card.html.ep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/_public_status_card.html.ep') diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index 8e3eec7..42d507e 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -185,7 +185,7 @@

% if ($journey->{arr_name}) { Zuletzt gesehen - % if ($journey->{real_arrival}->epoch and ($public_level & 0x20 or ($public_level & 0x10 and is_user_authenticated()))) { + % if ($journey->{real_arrival}->epoch) { %= $journey->{real_arrival}->strftime('am %d.%m.%Y') in <%= $journey->{arr_name} %> %= $journey->{real_arrival}->strftime('(Ankunft um %H:%M Uhr)') -- cgit v1.2.3