diff options
Diffstat (limited to 'templates/_public_status_card.html.ep')
-rw-r--r-- | templates/_public_status_card.html.ep | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/_public_status_card.html.ep b/templates/_public_status_card.html.ep index ced0c6f..907427f 100644 --- a/templates/_public_status_card.html.ep +++ b/templates/_public_status_card.html.ep @@ -164,13 +164,14 @@ <p> % if ($journey->{arr_name}) { Zuletzt gesehen - % if ($public_level & 0x30 and $journey->{real_arrival}->epoch) { + % if ($journey->{real_arrival}->epoch and ($public_level & 0x20 or ($public_level & 0x10 and is_user_authenticated()))) { %= $journey->{real_arrival}->strftime('am %d.%m.%Y') - % } - in <b><%= $journey->{arr_name} %></b> - % if ($public_level & 0x30 and $journey->{real_arrival}->epoch) { + in <b><%= $journey->{arr_name} %></b> %= $journey->{real_arrival}->strftime('(Ankunft um %H:%M Uhr)') % } + % else { + in <b><%= $journey->{arr_name} %></b> + % } % } % else { Noch keine Zugfahrten geloggt. |