summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-25 15:20:57 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-10-25 15:20:57 +0100
commitbdae52f5a17452e66426aab03bef9867d7a3233d (patch)
tree25cb9c5b5294b9b8b1ddcc83bbafced1fb076ba8 /lib/DBInfoscreen
parent690b941af328c79cd3e78fb6a43560969d3ee574 (diff)
switch to departure table when clicking on station name in nav
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 609eefd..42f388e 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -638,6 +638,7 @@ sub render_train {
icetype => $self->app->ice_type_map->{ $departure->{train_no} },
dt_now => DateTime->now( time_zone => 'Europe/Berlin' ),
station_name => $station_name,
+ nav_link => '/' . $station_name,
);
}
)->wait;
@@ -1193,6 +1194,7 @@ sub handle_result {
or $template eq 'multi'
),
force_mobile => ( $template eq 'app' ),
+ nav_link => '/' . $station_name,
);
}
return;