From f2b5cd5444107fa81de121adf00a0a4787ab3590 Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 8 Dec 2024 03:16:50 +0000 Subject: [PATCH] feat: add projects link to signed-in user navbar in head_navbar template - Insert conditional "Projects" navigation item for authenticated users - Remove commented-out help link block for non-signed-in users --- data/gitea/templates/base/head_navbar.tmpl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/data/gitea/templates/base/head_navbar.tmpl b/data/gitea/templates/base/head_navbar.tmpl index a0c8468..7817a0f 100644 --- a/data/gitea/templates/base/head_navbar.tmpl +++ b/data/gitea/templates/base/head_navbar.tmpl @@ -58,13 +58,12 @@ Examples / Research / Gists {{end}} + {{ if .IsSigned }} + + Projects + {{ end }} {{template "custom/extra_links" .}} -