Fix spacing in departures and describe platform number
This commit is contained in:
parent
7f2e0febf3
commit
a06696126b
@ -296,8 +296,8 @@ async fn route_station_to_dest_station(
|
||||
if stops_at_destination {
|
||||
out.push_str(&format!("<li><time datetime=\"{}\">{}</time>: ", departure_info.time, departure_time.format("%H:%M")));
|
||||
out.push_str(&format!("<a href=\"https://bahn.expert/details/{}%20{}/{}?evaNumberAlongRoute={}\">", &departure.train.r#type, &departure.train.number, &departure.initial_departure, 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));
|
||||
out.push_str(&format!("{} ({} {})</a> ", &departure.train.name, &departure.train.r#type, &departure.train.number));
|
||||
out.push_str(&format!("[Gleis {}]-> {}\n", departure_info.platform, &departure.destination));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user