diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-05-14 07:19:35 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-05-14 07:19:35 +0200 |
commit | ec5737ed4121ebd23c2a8667822fe557109f9b86 (patch) | |
tree | c313dc4ac5029a136a3c81813d94f311cb394bdc | |
parent | c2ff9cf0e82c36d3b1a514fec36f1c5d20bab862 (diff) |
show 'via' in title if set
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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, |