-
-
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
Update a couple more tpl variables to tokens #27004
Conversation
Thank you for contributing to CiviCRM! ❤️ We will need to test and review the PR. 👷 Introduction for new contributors
Quick links for reviewers |
test this please |
{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))} | ||
<p>{$event.confirm_email_text|htmlize}</p> | ||
{if {event.confirm_email_text|boolean} AND (empty($isOnWaitlist) AND empty($isRequireApproval))} | ||
<p>{event.confirm_email_text|boolean}</p> |
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.
I think boolean on line 30 is a typo?
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.
yep - well spotted
event.is_public is already converted in the event online template - event.email_confirm_text is already tested as a token available in the offline template. The token layer should take care of the htmlise question
e00e2a5
to
814904c
Compare
Overview
Before
After
Still works
Technical Details
Comments
I will do a regen once I've fixed a couple more (I'm looking at you 'dataArray')