_public_status_card: remove superfluous public_level check

arr_name is only set if the user may see the journey
This commit is contained in:
Derf Null 2023-06-23 21:04:25 +02:00
parent 2bbd8df33d
commit c32b93ff4d
No known key found for this signature in database
GPG key ID: 19E6E524EBB177BA

View file

@ -185,7 +185,7 @@
<p>
% 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 <b><%= $journey->{arr_name} %></b>
%= $journey->{real_arrival}->strftime('(Ankunft um %H:%M Uhr)')