From 0e67d90aa97ad3325eff28d7f7b7b7ef2d3bf22c Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Mon, 10 Jul 2023 11:32:19 -0400 Subject: [PATCH] Revert button title for "Add Attribute" to simply "Add" and move closer to title (CFM-291) --- app/resources/locales/en_US/operation.po | 3 --- app/templates/element/mveaCanvas.php | 2 +- app/webroot/css/co-base.css | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/app/resources/locales/en_US/operation.po b/app/resources/locales/en_US/operation.po index 75bb8399c..e01e38929 100644 --- a/app/resources/locales/en_US/operation.po +++ b/app/resources/locales/en_US/operation.po @@ -33,9 +33,6 @@ msgstr "Add" msgid "add.a" msgstr "Add a New {0}" -msgid "add.attribute" -msgstr "Add Attribute" - msgid "api.key.generate" msgstr "Generate API Key" diff --git a/app/templates/element/mveaCanvas.php b/app/templates/element/mveaCanvas.php index 8faac6946..ea76f0b0f 100644 --- a/app/templates/element/mveaCanvas.php +++ b/app/templates/element/mveaCanvas.php @@ -36,7 +36,7 @@ $action_args = array(); $action_args['vv_attr_id'] = $objId; $action_args['vv_actions_type'] = 'mvea-add-menu'; - $action_args['vv_actions_title'] = __d('operation', 'add.attribute'); + $action_args['vv_actions_title'] = __d('operation', 'add'); $action_args['vv_actions_icon'] = 'add_circle'; $action_args['vv_actions_class'] = 'mvea-add-menu'; $actionOrderDefault = $this->Menu->getMenuOrder('Default'); diff --git a/app/webroot/css/co-base.css b/app/webroot/css/co-base.css index d34afc39e..07bf585d0 100644 --- a/app/webroot/css/co-base.css +++ b/app/webroot/css/co-base.css @@ -1090,7 +1090,7 @@ html.dark-mode #pagination { } #mvea-canvas-title-container { display: flex; - justify-content: space-between; + gap: 0.5em; align-items: center; margin: 3em 0 -0.5em; }