summaryrefslogtreecommitdiff
path: root/templates/_checked_in.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_checked_in.html.ep')
-rw-r--r--templates/_checked_in.html.ep16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/_checked_in.html.ep b/templates/_checked_in.html.ep
index 2b6ac90..ec4e8ae 100644
--- a/templates/_checked_in.html.ep
+++ b/templates/_checked_in.html.ep
@@ -227,11 +227,11 @@
% if ($station->[2] and $station->[2] eq 'cancelled') {
entfällt
% }
- % elsif ($station->[1]{rt_arr}) {
- <%= $station->[1]{rt_arr}->strftime('%H:%M') %>
+ % elsif ($station->[1]{rt_arr} or $station->[1]{sched_arr}) {
+ %= ($station->[1]{rt_arr} || $station->[1]{sched_arr})->strftime('%H:%M')
% }
- % elsif ($station->[1]{sched_arr}) {
- <%= $station->[1]{sched_arr}->strftime('%H:%M') %>
+ % elsif ($station->[1]{rt_dep} or $station->[1]{sched_dep}) {
+ (<%= ($station->[1]{rt_dep} || $station->[1]{sched_dep})->strftime('%H:%M') %>)
% }
% elsif ($station->[2] and $station->[2] eq 'additional') {
Zusatzhalt
@@ -342,11 +342,11 @@
% if ($station->[2] and $station->[2] eq 'cancelled') {
entfällt
% }
- % elsif ($station->[1]{rt_arr}) {
- <%= $station->[1]{rt_arr}->strftime('%H:%M') %>
+ % elsif ($station->[1]{rt_arr} or $station->[1]{sched_arr}) {
+ %= ($station->[1]{rt_arr} || $station->[1]{sched_arr})->strftime('%H:%M')
% }
- % elsif ($station->[1]{sched_arr}) {
- <%= $station->[1]{sched_arr}->strftime('%H:%M') %>
+ % elsif ($station->[1]{rt_dep} or $station->[1]{sched_dep}) {
+ (<%= ($station->[1]{rt_dep} || $station->[1]{sched_dep})->strftime('%H:%M') %>)
% }
% elsif ($station->[2] and $station->[2] eq 'additional') {
Zusatzhalt