From 357efdae358e8ed28c223c871802e419fcd2aa00 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sat, 21 Oct 2023 09:30:26 +0200 Subject: departure board: show 'now' marker in bold and with request timestamp --- templates/_departures_hafas.html.ep | 9 +++++---- templates/_departures_iris.html.ep | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/templates/_departures_hafas.html.ep b/templates/_departures_hafas.html.ep index 6e1641f..169b319 100644 --- a/templates/_departures_hafas.html.ep +++ b/templates/_departures_hafas.html.ep @@ -1,7 +1,7 @@ % my $orientation_bar_shown = param('train'); -% my $now_epoch = now()->epoch; +% my $now_epoch = now->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; @@ -15,10 +15,11 @@ - + % } diff --git a/templates/_departures_iris.html.ep b/templates/_departures_iris.html.ep index cecbc8a..c8dd834 100644 --- a/templates/_departures_iris.html.ep +++ b/templates/_departures_iris.html.ep @@ -1,7 +1,7 @@
- — Anfragezeitpunkt — - + — Anfragezeitpunkt — + %= now->strftime('%H:%M') +
% my $orientation_bar_shown = param('train'); -% my $now_epoch = now()->epoch; +% my $now_epoch = now->epoch; % for my $result (@{$results}) { % my $td_class = ''; % my $link_class = 'action-checkin'; @@ -15,10 +15,11 @@ - + % } -- cgit v1.2.3
- — Anfragezeitpunkt — - + — Anfragezeitpunkt — + %= now->strftime('%H:%M') +