From 4f10849ecdb7d6e0366a3e391c2132c810211647 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 2 Jun 2025 19:02:41 +0200 Subject: [PATCH 1/3] Change admin indicator to icon-only with title --- templates/base/head_navbar.tmpl | 3 +-- web_src/css/modules/navbar.css | 19 ++++++++++++------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 35e14d38d3b10..889742fec59e2 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -130,8 +130,7 @@ {{.SignedUser.Name}} {{svg "octicon-triangle-down"}} - {{/* do not localize it, here it needs the fixed length (width) to make UI comfortable */}} - {{if .IsAdmin}}admin{{end}} + {{if .IsAdmin}}{{svg "octicon-server" 11}}{{end}}