mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix error on macro renderPerson / withLink not taken into account
This commit is contained in:
parent
306654dee2
commit
5b60415166
@ -41,3 +41,7 @@ Version 1.5.6
|
||||
- Update address validation
|
||||
- Add command to move person and all data of a person to a new one, and delete the old one.
|
||||
|
||||
Branche master
|
||||
==============
|
||||
|
||||
- fix error on macro renderPerson / withLink not taken into account
|
||||
|
@ -1 +1 @@
|
||||
{% macro render(p, withLink=false) %}<span class="entity entity-person person-person"><a href="{{ path('chill_person_view', { 'person_id' : p.id } ) }}">{{ p.firstName }} {{ p.lastName }}</a></span>{% endmacro %}
|
||||
{% macro render(p, withLink=true) %}<span class="entity entity-person person-person">{% if withLink %}<a href="{{ path('chill_person_view', { 'person_id' : p.id } ) }}">{% endif %}{{ p.firstName }} {{ p.lastName }}{% if withLink %}</a>{% endif %}</span>{% endmacro %}
|
Loading…
x
Reference in New Issue
Block a user