-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
Only set crm-public on profiles when public #32499
base: master
Are you sure you want to change the base?
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
ok, well it seems |
That fixes it! Not sure if there are implications either. Had a check of http://core-32499-r18i.test-1.civicrm.org:8003/civicrm/contribute/transact?reset=1&id=1 - it still works, tho noticed it doesn't seem to have |
I suppose the contribution page is assumed to always be frontend and so didn't need |
True. Edit: actually it varies a bit by CMS. On Joomla contribution pages do have the class, ie a wrapper like this:
|
Overview
See: https://chat.civicrm.org/civicrm/pl/kmhhwbftnbd55mji1nz3t73rjw
Only add crm-public class if public.
Before
Always added to profiles
After
Only added if public (following pattern used in other templates)
Technical Details
Comments
@vingle I didn't test this change. But looks like it's probably the right approach.