From 348128fada7081a02d0bc47e03f7b68c1afbe769 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Fri, 29 Oct 2021 17:06:16 -0700 Subject: [PATCH] fix(fastapi): fix /account/{username} page title Signed-off-by: Kevin Morris --- aurweb/routers/accounts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aurweb/routers/accounts.py b/aurweb/routers/accounts.py index f45b55da..152b0a15 100644 --- a/aurweb/routers/accounts.py +++ b/aurweb/routers/accounts.py @@ -612,7 +612,8 @@ account_template = ( status_code=HTTPStatus.UNAUTHORIZED) async def account(request: Request, username: str): _ = l10n.get_translator_for_request(request) - context = await make_variable_context(request, _("Account") + username) + context = await make_variable_context(request, + _("Account") + " " + username) user = db.query(models.User, models.User.Username == username).first() if not user: