diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_train_details.html.ep | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/_train_details.html.ep b/templates/_train_details.html.ep index 1437449..35c0aaf 100644 --- a/templates/_train_details.html.ep +++ b/templates/_train_details.html.ep @@ -45,6 +45,9 @@ % elsif ($departure->{prep_time}) { Ein: <%= $departure->{prep_time} %> % } +% if ($departure->{tz_offset} and $departure->{local_sched_arr}) { + <br/>Lokal: <%= $departure->{local_sched_arr}->strftime('%H:%M') %> +% } </div> </div> <div> @@ -107,6 +110,9 @@ % elsif ($departure->{sched_departure}) { Ab: <%= $departure->{sched_departure} %> % } +% if ($departure->{tz_offset} and $departure->{local_sched_dep}) { + <br/>Lokal: <%= $departure->{local_sched_dep}->strftime('%H:%M') %> +% } </div> </div> </div> <!-- dataline --> @@ -283,6 +289,9 @@ % if ($departure->{missing_realtime} or $departure->{no_realtime_yet}) { <i class="material-icons" aria-label="Echtzeitdaten fehlen">gps_off</i> % } +% if ($departure->{tz_offset} and $departure->{local_dt_da}) { + (lokal <%= $departure->{local_dt_da}->strftime('%H:%M') %>) +% } <strong><%= stash('station_name') %></strong> % if (my $u = $departure->{utilization}) { % my ($text, $icon1, $icon2) = utilization_icon($u); |