-
Notifications
You must be signed in to change notification settings - Fork 67
Cherry-pick: "Add documentation for contact field label modifier " to 7.0 #607
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
base: 7.0
Are you sure you want to change the base?
Conversation
Add documentation for the new < /dev/null | label modifier that displays human-readable labels for select and boolean contact fields instead of stored values. Related to mautic/mautic#12620
Co-authored-by: Ruth Cheesley <ruth@ruthcheesley.co.uk>
|
|
||
| .. note:: | ||
|
|
||
| The ``|label`` modifier only works with select and boolean field types. For other field types, it displays the regular value. |
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.
@kuzmany I want to confirm this note. We mentioned that the modifier only works with select and boolean field types.
However, we also mentioned that it also works with Contact and Company field type in the examples. Do we need to update this note?
cc: @mautic/core-team @RCheesley for visibility
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.
In the channels/emails.rst, it only mentioned that this modifier works as well with Company field, but it doesn't mention Contact field as below. Do we need to update this as well?
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.
@kuzmany would be great to get a reply here please.
Description
This PR cherry-picks #395 into the 7.0 branch.
It also:
Adds documentation for the new
| labelmodifier:Fixes format and adjust wordings for readabilty
Linked issue
Screenshots or screen recordings