Custom link in group does not render Jinja2 code #3857
Labels
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Environment
Steps to Reproduce
Expected Behavior
Expected the link to use the Jinja2 code and show "Custom Link 1" as name.
Observed Behavior
The Jinja code is shown as the name. So the name is "{% if True %} Custom Link 1{% endif %}" instead of "Custom Link 1". The link itself is also not rendering Jinja code.
This seems to come from #3461 and due to the
text_rendered
andlink_rendered
not being used in the format statement onnetbox/netbox/extras/templatetags/custom_links.py
Line 72 in b5455ed
I did a quick check and changed
to
This made it work as expected again.
The text was updated successfully, but these errors were encountered: