From ead3c9043d72fd676a72962a4a4b5ed78c9de7a8 Mon Sep 17 00:00:00 2001 From: t Date: Fri, 1 May 2026 09:59:58 -0400 Subject: [PATCH] updated branding --- ui/templates/base.gohtml | 14 ++++++++++---- ui/ui.go | 6 +++++- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/ui/templates/base.gohtml b/ui/templates/base.gohtml index ef5b6b4..9eac5ab 100644 --- a/ui/templates/base.gohtml +++ b/ui/templates/base.gohtml @@ -3,16 +3,22 @@ - RiskRancher OSS + RiskRancher {{if isProActive}}PRO{{else}}OSS{{end}}
@@ -29,7 +35,7 @@ {{template "content" .}} diff --git a/ui/ui.go b/ui/ui.go index 8953075..b564791 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -36,7 +36,11 @@ func SetVersionInfo(version, commit string) { } func init() { - funcMap := template.FuncMap{"lower": strings.ToLower} + funcMap := template.FuncMap{ + "lower": strings.ToLower, + "isProActive": func() bool { return false }, + "getCompanyName": func() string { return "" }, + } Pages = make(map[string]*template.Template) var err error