Standardise on edit, disable, delete etc in menu
authorAidan Saunders <aidan.saunders@squiffle.uk>
Thu, 2 Nov 2023 22:26:20 +0000 (22:26 +0000)
committerAidan Saunders <aidan.saunders@squiffle.uk>
Thu, 2 Nov 2023 22:29:07 +0000 (22:29 +0000)
16 files changed:
ext/civicrm_admin_ui/managed/SavedSearch_ACL_Roles.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Assigned_Financial_Accounts.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Accounts.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Types.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Location_Types.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Manage_Group.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Payment_Processors.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_ProfileFields.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Scheduled_Reminders.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Manage_ACLs.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Manage_Contribution_Pages.mgd.php
ext/civicrm_admin_ui/managed/SavedSearch_Manage_Scheduled_Jobs.mgd.php

index ad6974906c7736b4ae51a09199f421db67e69816..de475f50ba99b2becd04f311449c797722200bcf 100644 (file)
@@ -162,7 +162,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 9dcf53a32dc5164eba73fefa5f114f84f6d4a8e4..a1d89053de2732a22dd58011f7a27339be352618 100644 (file)
@@ -152,7 +152,8 @@ return [
                   'target' => 'crm-popup',
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index fbb6a96687326501e8cf23219fa7d3e7788917a8..30ab389b28906f06a020dcbe6370918cfbca4ce4 100644 (file)
@@ -113,7 +113,10 @@ return [
               'editable' => TRUE,
             ],
             [
+              'text' => '',
+              'style' => 'default',
               'size' => 'btn-xs',
+              'icon' => 'fa-bars',
               'links' => [
                 [
                   'entity' => 'ContactType',
@@ -141,7 +144,7 @@ return [
                   ],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
               'alignment' => 'text-right',
             ],
           ],
index 1f530c36d62d5658ea99dce0fbceb3cd0d4b914a..67766d00cb10ea3f554ebf6d668cff7e5985e68b 100644 (file)
@@ -113,7 +113,10 @@ return [
               'editable' => TRUE,
             ],
             [
+              'text' => '',
+              'style' => 'default',
               'size' => 'btn-xs',
+              'icon' => 'fa-bars',
               'links' => [
                 [
                   'entity' => 'CustomField',
@@ -121,28 +124,18 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-pencil',
-                  'text' => E::ts('Edit Field'),
+                  'text' => E::ts('Edit'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
                 ],
-              ],
-              'type' => 'buttons',
-              'alignment' => 'text-right',
-            ],
-            [
-              'text' => '',
-              'style' => 'default',
-              'size' => 'btn-xs',
-              'icon' => 'fa-bars',
-              'links' => [
                 [
                   'entity' => 'CustomField',
                   'action' => 'preview',
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-eye',
-                  'text' => E::ts('Preview Field'),
+                  'text' => E::ts('Preview'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
@@ -166,7 +159,7 @@ return [
                   'entity' => 'CustomField',
                   'target' => 'crm-popup',
                   'icon' => 'fa-toggle-on',
-                  'text' => E::ts('Enable Field'),
+                  'text' => E::ts('Enable'),
                   'style' => 'default',
                   'condition' => ['is_active', '=', FALSE],
                 ],
@@ -175,7 +168,7 @@ return [
                   'entity' => 'CustomField',
                   'target' => 'crm-popup',
                   'icon' => 'fa-toggle-off',
-                  'text' => E::ts('Disable Field'),
+                  'text' => E::ts('Disable'),
                   'style' => 'default',
                   'condition' => ['is_active', '=', TRUE],
                 ],
@@ -185,7 +178,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-random',
-                  'text' => E::ts('Move Field'),
+                  'text' => E::ts('Move'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
@@ -196,7 +189,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-trash',
-                  'text' => E::ts('Delete Field'),
+                  'text' => E::ts('Delete'),
                   'style' => 'danger',
                   'path' => '',
                   'condition' => [],
index be88c1815c251e486827920a5a2b82be5282011d..0263e16db23ab31394f9bb922614799c87360398 100644 (file)
@@ -167,7 +167,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-eye',
-                  'text' => E::ts('Preview Group'),
+                  'text' => E::ts('Preview'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
@@ -196,7 +196,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-trash',
-                  'text' => E::ts('Delete Group'),
+                  'text' => E::ts('Delete'),
                   'style' => 'danger',
                   'path' => '',
                   'condition' => [],
index 0ff2330177d91f15c138e2c68d897ccbc533bc5d..db86a63bec95887e84fe52a17e51aadafd587ba1 100644 (file)
@@ -184,7 +184,8 @@ return [
                   'condition' => ['is_reserved', '=', FALSE],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index a02b01c14d7a618a85972b0a6f58fb9e7d023427..55ddd2f99122cc52ba6d361f64c5111069869c81 100644 (file)
@@ -151,6 +151,13 @@ return [
                   'join' => '',
                   'target' => '',
                 ],
+              ],
+              'type' => 'buttons',
+              'alignment' => 'text-right',
+            ],
+            [
+              'size' => 'btn-xs',
+              'links' => [
                 [
                   'icon' => 'fa-pencil',
                   'text' => E::ts('Edit'),
@@ -190,7 +197,8 @@ return [
                   'target' => 'crm-popup',
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 823763b874a8650d3f22ee3e1064912551098286..f0f1ebc698cfd837cf34bb02009799497c1b02b2 100644 (file)
@@ -168,7 +168,8 @@ return [
                   ],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index ea4e5f38d784055b5900a1ca379e1b94d0ef25ec..26f62cbecbc025ce58b70cc4206ee1b8333c0f91 100644 (file)
@@ -225,7 +225,7 @@ return [
                   'target' => 'crm-popup',
                 ],
               ],
-              'type' => 'links',
+              'type' => 'buttons',
               'alignment' => 'text-right',
             ],
             [
@@ -258,7 +258,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-trash',
-                  'text' => E::ts('Remove Group'),
+                  'text' => E::ts('Delete'),
                   'style' => 'danger',
                   'path' => '',
                   'condition' => [],
index 77287800b1c82e5335e6228c9ed595d6cb0b2bdb..3252597f0b664aceb3bafa05084d61849a67eee6 100644 (file)
@@ -208,7 +208,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 2877ceba1a3629762623b4bb678af5e52fa83a71..4247f52154ae87de417f081439f2571481d34791 100644 (file)
@@ -185,7 +185,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 20e514f5a7d9363a1afe8178cc96fe782f86131e..39fda6f5135d362d0fcc041e08cc370f94cd380f 100644 (file)
@@ -159,7 +159,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 29ef9dbf0e8411c702bab8638aef309a2695d3cf..ae1d1bcefbdd45291b9eb07a11989de8c677f73e 100644 (file)
@@ -177,7 +177,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 6c7e1f22fa8a46cab288e9f12ac1e5510e608d9f..9bfa13c8cdfe4327b7ead5bd31c6b0a25a037ca9 100644 (file)
@@ -137,7 +137,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-pencil',
-                  'text' => E::ts('Edit ACL'),
+                  'text' => E::ts('Edit'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
@@ -166,7 +166,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-trash',
-                  'text' => E::ts('Delete ACL'),
+                  'text' => E::ts('Delete'),
                   'style' => 'danger',
                   'path' => '',
                   'condition' => [],
index 2e6b8c7296c787d3406180599ce0159979208b45..3217d8f58bdc9253bf79115913064fa01c72c24f 100644 (file)
@@ -240,7 +240,8 @@ return [
                   'condition' => [],
                 ],
               ],
-              'type' => 'buttons',
+              'type' => 'menu',
+              'icon' => 'fa-bars',
               'alignment' => 'text-right',
             ],
           ],
index 07ce4295a57fe907172b0668e8a58596677c58a8..fa4c89d963e2b2c732b07cb15d2ccca98a951433 100644 (file)
@@ -188,7 +188,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-pencil',
-                  'text' => E::ts('Edit Job'),
+                  'text' => E::ts('Edit'),
                   'style' => 'default',
                   'path' => '',
                   'condition' => [],
@@ -228,7 +228,7 @@ return [
                   'join' => '',
                   'target' => 'crm-popup',
                   'icon' => 'fa-trash',
-                  'text' => E::ts('Delete Job'),
+                  'text' => E::ts('Delete'),
                   'style' => 'danger',
                   'path' => '',
                   'condition' => [],