link to /route; Fixes #27
This commit is contained in:
parent
786c122dcd
commit
da33c0411d
@ -517,10 +517,12 @@ async fn index(State(db): State<Arc<SqlitePool>>, session: Session) -> Markup {
|
||||
}
|
||||
}
|
||||
@if station.routes(&db).await.is_empty() {
|
||||
a href="/admin/route" {
|
||||
em data-tooltip=(t!("station_warning_not_assigned_route")) {
|
||||
"⚠️ "
|
||||
}
|
||||
}
|
||||
}
|
||||
a href=(format!("/admin/station/{}", station.id)){
|
||||
(station.name)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user