mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-02 11:29:41 +00:00
fix folder name
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{% macro render(p, withLink=true, withClosingInfo=false) %}{% apply spaceless %}
|
||||
<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 withClosingInfo %}
|
||||
{% if chill_person.fields.accompanying_period == 'visible' %}
|
||||
{% set is_open = p.isOpen() %}
|
||||
{% if is_open == false %}
|
||||
<i class="fa fa-folder" ></i>
|
||||
{% else %}
|
||||
<i class="fa fa-folder-open" ></i>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if withLink %}</a>{% endif %}
|
||||
</span>{% endapply %}
|
||||
{% endmacro %}
|
Reference in New Issue
Block a user