Skip to content

Commit

Permalink
Revert button title for "Add Attribute" to simply "Add" and move clos…
Browse files Browse the repository at this point in the history
…er to title (CFM-291)
  • Loading branch information
arlen committed Jul 10, 2023
1 parent 6cac809 commit 0e67d90
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions app/resources/locales/en_US/operation.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion app/templates/element/mveaCanvas.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0e67d90

Please sign in to comment.