Unverified Commit b0617726 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Stationboard: Link to BLS fo swiss stations

parent 2558df1b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2015,6 +2015,11 @@ sub handle_result {
			{
				$params->param( hafas => 'ÖBB' );
			}
			elsif ( $data->{station_eva} >= 8500000
				and $data->{station_eva} < 8600000 )
			{
				$params->param( hafas => 'BLS' );
			}
			$api_link = '/' . $data->{station_eva} . '?' . $params->to_string;
			$api_text = 'Auf Nahverkehr wechseln';
			$api_icon = 'train';