From e54e44907d51cc0f8d1c2845b290f92d29bdc34d Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Fri, 10 Oct 2025 15:08:19 -0400 Subject: [PATCH] Include latest features on the menu panels (NOJIRA) (#345) * Include latest features on the menu panels (NOJIRA) * Improve platform-notice dark-mode color (NOJIRA) * Improve menu-panel submenu (NOJIRA) * Improve tests for COmanange CO (CFM-218) * De-emphasize "Authentication Events" in panel menus (CFM-218) --- app/resources/locales/en_US/menu.po | 9 ++ app/templates/ApiUsers/columns.inc | 2 +- app/templates/element/menuPanel.php | 227 ++++++++++++++++++++-------- app/templates/layout/default.php | 2 +- app/webroot/css/co-base.css | 35 ++++- app/webroot/css/co-color.css | 4 +- 6 files changed, 207 insertions(+), 72 deletions(-) diff --git a/app/resources/locales/en_US/menu.po b/app/resources/locales/en_US/menu.po index 32b0468eb..caf73c689 100644 --- a/app/resources/locales/en_US/menu.po +++ b/app/resources/locales/en_US/menu.po @@ -93,6 +93,9 @@ msgstr "Groups" msgid "co.operations" msgstr "Operations" +msgid "co.operations.authentication.events.desc" +msgstr "Review login attempts" + msgid "co.operations.panel.title" msgstr "Operations" @@ -102,6 +105,9 @@ msgstr "Operational activities" msgid "co.operations.jobs.desc" msgstr "Manage this CO's asynchronous process queue" +msgid "co.operations.notifications.desc" +msgstr "View CO notifications" + msgid "co.operations.reports.desc" msgstr "Create, view, and export reports" @@ -225,6 +231,9 @@ msgstr "my canvas" msgid "registries" msgstr "Available {0} Registries" +msgid "related.artifacts" +msgstr "Related Artifacts" + msgid "related.configurations" msgstr "Related Configurations" diff --git a/app/templates/ApiUsers/columns.inc b/app/templates/ApiUsers/columns.inc index f38cd7c1c..8fd2e4db4 100644 --- a/app/templates/ApiUsers/columns.inc +++ b/app/templates/ApiUsers/columns.inc @@ -26,7 +26,7 @@ */ // Output advisory banner when co=1 -if($vv_cur_co->id == 1) { +if($vv_cur_co->isCOmanageCO()) { $banners = [ __d('information','api.cmp') ]; diff --git a/app/templates/element/menuPanel.php b/app/templates/element/menuPanel.php index f88fede5d..5b6c66297 100644 --- a/app/templates/element/menuPanel.php +++ b/app/templates/element/menuPanel.php @@ -89,43 +89,48 @@ - - -