From e8d6451f17f9105fa6fa93db6c5361bd30a0cf10 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 21 Jul 2026 14:54:43 -0500 Subject: [PATCH 1/3] fix(ui): use selected favicon on the login page instead of missing gitea logo (#819) The login page hard-coded {{AssetUrlPrefix}}/img/login-logo.png, which 404s (broken image above the sign-in card). Point it at the configured favicon (/img/favicon.svg) with a png fallback then hide, so the login page shows the actual selected site icon/branding. Adds an alt of {{AppName}}. Authored-by: Moko Consulting Claude-Session: https://claude.ai/code/session_01D5Zxu4xRRGoh9etzgShP4P --- templates/user/auth/signin_inner.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/auth/signin_inner.tmpl b/templates/user/auth/signin_inner.tmpl index 3c6ea78f78..62211fccfb 100644 --- a/templates/user/auth/signin_inner.tmpl +++ b/templates/user/auth/signin_inner.tmpl @@ -1,6 +1,6 @@
- + {{AppName}}
{{if or (not .LinkAccountMode) (and .LinkAccountMode .LinkAccountModeSignIn)}} {{template "base/alert" .}} -- 2.52.0 From 65019dd5ad74b3f14ab6d9173100bf1db46ac23c Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Tue, 21 Jul 2026 15:03:03 -0500 Subject: [PATCH 2/3] fix(ui): navbar brand uses selected favicon instead of gitea logo (#819) The navbar brand (top-left, shown on the dashboard you land on after login) rendered the default gitea logo.svg. Point it at the admin-selected favicon (/img/favicon.svg, png fallback) so post-login pages carry the configured site icon. Authored-by: Moko Consulting Claude-Session: https://claude.ai/code/session_01D5Zxu4xRRGoh9etzgShP4P --- templates/base/head_navbar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 59b10c9771..99dbf371d4 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -2,7 +2,7 @@