-
-
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
dev/financial#105 Add CSS class onto the radio button payment processor options #15940
Conversation
…nt processor options to differenciate between the different options for themers
(Standard links)
|
(CiviCRM Review Template DEL-1.2)
|
@MikeyMJCO What kind of documentation update do you recommend? In which section? (CSS classes have often had very little documentation.. which is not great of course, but at the same time, they are kind of self-explanatory?) |
It's more a case of "if there is documentation that refers to this - it should be updated" but there wasn't an option for that. |
Betty and I are reviewing PR's and we came across this one. We agree with @MikeyMJCO that documentation would be nice so that theme developers know how they could use this in their theme. But we don't know where. We have looked in the developer guide but there is no section for theme developers. The best place we found is https://docs.civicrm.org/dev/en/latest/framework/ui/ but not sure if that is the right section for this. Therefor we think this PR could be merged and we think it would be nice to have some sort of guide on how to create a custom theme for contribution pages. But that is outside the scope of this PR. @eileenmcnaughton or @mattwire are you able to merge this PR. |
(I'm OK with merging, but will let someone like Eileen or Matt weigh in, because it's not my area) |
Docs would be nice, but it's pretty easy to find this out when theming a form. |
The docs comment here is somewhat irrelevant - there are no docs currently talking about theming this area and really we wouldn't be documenting every classname anyway. |
…nt processor options to differenciate between the different options for themers
Overview
This adds in an additional class to the radio button options for choosing your payment processor with the payment processor type in the class. To allow themers to change the styling for each radio button depending on the payment processor type e.g. use the PayPal logo as the radio button perhaps for PayPal ones.
Before
No unique class between the options
After
Unique class
ping @mattwire @MikeyMJCO @agileware-fj