Split departure string
This commit is contained in:
parent
b2c24df08a
commit
51a76a718c
@ -272,7 +272,10 @@ async fn route_station_to_dest_station(
|
||||
}
|
||||
|
||||
if stops_at_destination {
|
||||
out.push_str(&format!("<li>{}: <a href=\"https://bahn.expert/details/{}%20{}/{}?evaNumberAlongRoute={}\">{} ({} {})</a> [{}]-> {}\n", departure_info.time, &departure.train.r#type, &departure.train.number, &departure.initialDeparture, station_properties.code, &departure.train.name, &departure.train.r#type, &departure.train.number, departure_info.platform, &departure.destination));
|
||||
out.push_str(&format!("<li>{}: ", departure_info.time));
|
||||
out.push_str(&format!("<a href=\"https://bahn.expert/details/{}%20{}/{}?evaNumberAlongRoute={}\">", &departure.train.r#type, &departure.train.number, &departure.initialDeparture, station_properties.code));
|
||||
out.push_str(&format!("{} ({} {})</a>", &departure.train.name, &departure.train.r#type, &departure.train.number));
|
||||
out.push_str(&format!("[{}]-> {}\n", departure_info.platform, &departure.destination));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user