-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AdminUI: updates to Custom Group & Field #26329
Conversation
(Standard links)
|
@@ -127,7 +130,7 @@ | |||
'alignment' => 'text-right', | |||
], | |||
[ | |||
'text' => E::ts('Actions'), | |||
'text' => E::ts(''), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bit of a waste of the ts()
function here...
], | ||
], | ||
'type' => 'buttons', | ||
'alignment' => 'text-right', | ||
], | ||
[ | ||
'text' => '', | ||
'text' => E::ts(''), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a bug in the Export API?
ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php
Show resolved
Hide resolved
Thanks - updated. |
@aydun I just went down a wee rabbit hole with this one. Because the raw data (which has the results of |
group page. A few tweaks/standardisations in line with other AdminUI pages.
Thanks for investigating that rabbit hole @colemanw ! Given that, lets go with it as it is. |
Overview
This enhances the Administer Custom Group and Field pages in the AdminUI extension.
Before
It is not always obvious which custom group contains a specific custom field resulting in multiple rounds of opening up the field listing for a group, realising it is the wrong one, going back and trying again.
After
Custom field names are listed on the custom group page along with a filter making it very quick to find and edit a field.
Also has a few tweaks/standardisations in line with other AdminUI pages.
Technical Details
The field listing is formatted by replacing commas with '<br>'. If a field label contains a comma it will have wrong line breaks, but that is fairly unlikely and not a big deal if it happens. Ideally, the fields would be available as an array to allow formatting, but until then, this is good enough. This does not affect filtering.
Comments