proper placement of info msg
This commit is contained in:
parent
fdcd3e8e80
commit
9b84307e35
@ -672,6 +672,14 @@ async fn index(State(db): State<Arc<SqlitePool>>, session: Session) -> Markup {
|
|||||||
a href="/admin/route" { "Route" }
|
a href="/admin/route" { "Route" }
|
||||||
" sie zugewiesen sind."
|
" sie zugewiesen sind."
|
||||||
}
|
}
|
||||||
|
@if teams.is_empty() {
|
||||||
|
article class="warning" {
|
||||||
|
"Es gibt noch keine Teams. "
|
||||||
|
@if !routes.is_empty() {
|
||||||
|
"Das kannst du hier ändern ⤵️"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
article {
|
article {
|
||||||
h2 { "Neues Team" }
|
h2 { "Neues Team" }
|
||||||
@if routes.is_empty() {
|
@if routes.is_empty() {
|
||||||
@ -724,14 +732,6 @@ async fn index(State(db): State<Arc<SqlitePool>>, session: Session) -> Markup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if teams.is_empty() {
|
|
||||||
article class="warning" {
|
|
||||||
"Es gibt noch keine Teams. "
|
|
||||||
@if !routes.is_empty() {
|
|
||||||
"Das kannst du hier ändern ⤵️"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
page(content, session, false).await
|
page(content, session, false).await
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user