-
-
Notifications
You must be signed in to change notification settings - Fork 824
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: Convert Mail Accounts page civicrm/admin/mailSettings #26733
Conversation
Thank you for contributing to CiviCRM! ❤️ Here's what's next:
|
<desc>List email accounts.</desc> | ||
<access_arguments>access CiviCRM,access CiviMail</access_arguments> | ||
<adminGroup>CiviMail</adminGroup> | ||
<weight>420</weight> |
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.
The diff is weird, you're not actually adding these items here... but OTOH I don't think they belong in the new /edit
path, I think you can strip the <desc>
and <adminGroup>
tags from that one.
CRM/Mailing/xml/Menu/Mailing.xml
Outdated
<item> | ||
<path>civicrm/admin/mailSettings/edit</path> | ||
<title>Mail Accounts</title> | ||
<page_callback>CRM_Admin_Page_MailSettings</page_callback> |
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.
Can this point directly to CRM_Admin_Form_MailSettings
- I think that ought to work and it's a nice step toward detangling the form from the page.
'dataType' => 'Boolean', | ||
'label' => E::ts('Used For'), | ||
'sortable' => TRUE, | ||
'rewrite' => "{if '[is_default]' == 'Yes'}" . E::ts("Bounce Processing <strong>(Default)</strong>") . "{else}" . E::ts("Email-to-Activity") . "{/if}", |
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.
Oof, this will only work in English. This is another reason we need access to raw values in tokens.
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.
See #26742
0e297e0
to
c95f925
Compare
Make MailSettings available to SearchKit
Thanks @aydun |
thanks @colemanw |
Overview
Add Mail Accounts page to AdminUI
Before
Old
After
New
Make MailSettings available to SearchKit
Technical Details
If the PR involves technical details/changes/considerations which would not be manifest to a casual developer skimming the above sections, please describe the details here.
Comments
Anything else you would like the reviewer to note