only show instance config link for permitted users, make nav markup

component async
This commit is contained in:
2026-05-04 14:11:31 +02:00
parent 47cd13f734
commit f876ff3f00
14 changed files with 32 additions and 21 deletions

View File

@@ -60,7 +60,7 @@ pub async fn page(
Ok(base(
"Quotes | Mnemosyne",
html!(
(nav(Some(&u), req.uri().path()))
(nav(&mut conn, Some(&u), req.uri().path()).await)
div class="max-w-4xl mx-auto px-2" {
div class="my-4 flex justify-between" {