From ec33c57d29859d9cc2c2685ac320b910863df753 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Wed, 4 Mar 2026 18:24:27 -0500 Subject: [PATCH] Add consistent left nav sidebar across all pages Convert repo_menu from hidden horizontal context bar to sidebar sections. Add Navigate section with global links (Repos, Activity, Gists, Search, My Account, PRs, Notifications, Admin). Sidebar now shows for all users including anonymous. --- rhodecode/templates/base/base.mako | 106 ++++++++++++----------------- 1 file changed, 42 insertions(+), 64 deletions(-) diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako index d925d7b6..b6b10cd5 100644 --- a/rhodecode/templates/base/base.mako +++ b/rhodecode/templates/base/base.mako @@ -34,15 +34,9 @@
- <% - not_anon = c.rhodecode_user.username != h.DEFAULT_USER - has_sidebar = hasattr(next, 'page_sidebar') or not_anon - %> - % if has_sidebar: - % endif
${next.main()}
@@ -123,6 +117,24 @@ can_create_repos = c.is_super_admin or c.can_create_repo can_create_repo_groups = c.is_super_admin or c.can_create_repo_group %> + + % if not_anon: