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