summaryrefslogtreecommitdiff
path: root/templates/_public_status_card.html.ep
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-23 21:04:25 +0200
committerDerf Null <derf@finalrewind.org>2023-06-23 21:04:25 +0200
commitc32b93ff4da116921aa5ac8da4dcfddbf02a2d55 (patch)
tree6347ddbe8a452bb71431a6e8488124517c3e2ae5 /templates/_public_status_card.html.ep
parent2bbd8df33d1f6c0d227453b349a2840880675232 (diff)
_public_status_card: remove superfluous public_level check
arr_name is only set if the user may see the journey
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r--templates/_public_status_card.html.ep2
1 files changed, 1 insertions, 1 deletions
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 @@
<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)')