From ec5737ed4121ebd23c2a8667822fe557109f9b86 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 14 May 2019 07:19:35 +0200 Subject: show 'via' in title if set --- lib/DBInfoscreen/Controller/Stationboard.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index be8a4b5..0d1cbb7 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -863,7 +863,7 @@ sub handle_request { $template, departures => \@departures, version => $dbf_version, - title => $station_name, + title => $via ? "$station_name → $via" : $station_name, refresh_interval => $template eq 'app' ? 0 : 120, hide_opts => $hide_opts, hide_low_delay => $hide_low_delay, -- cgit v1.2.3