From 9fd07c36eb543f32f6d32e6392da0da583b68ab9 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Thu, 28 Oct 2021 12:12:13 -0700 Subject: [PATCH] fix(fastapi): fix account 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 61c125e0..b3203356 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: