From 2d09e39a1b3f7f8b799007aab71d00636342bc4c Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Tue, 31 Jan 2023 12:54:59 +0100 Subject: [PATCH] Navigation: Move gitea/user items back Remove gitea-specific links from top developer navbar. --- public/css/theme-bthree-dark.css | 5 + templates/base/head_navbar.tmpl | 28 ---- templates/custom/body_inner_pre.tmpl | 197 --------------------------- 3 files changed, 5 insertions(+), 225 deletions(-) delete mode 100644 templates/base/head_navbar.tmpl diff --git a/public/css/theme-bthree-dark.css b/public/css/theme-bthree-dark.css index 42b6795..3350aab 100644 --- a/public/css/theme-bthree-dark.css +++ b/public/css/theme-bthree-dark.css @@ -356,6 +356,11 @@ strong, b, h1, h2, h3, h4, h5, h6, min-height: 45px; } +/* The Blender logo is already in the top-most bar. */ +.following.bar #navbar .brand { + display: none; +} + /* Navbar logo. */ .item.brand a { opacity: .8; diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl deleted file mode 100644 index 24f9431..0000000 --- a/templates/base/head_navbar.tmpl +++ /dev/null @@ -1,28 +0,0 @@ - diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl index d706ff6..61f2dce 100644 --- a/templates/custom/body_inner_pre.tmpl +++ b/templates/custom/body_inner_pre.tmpl @@ -1,8 +1,3 @@ -{{$notificationUnreadCount := 0}} -{{if .IsSigned}} - {{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}} -{{end}} -