mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
page vue des tiers
This commit is contained in:
@@ -94,11 +94,38 @@
|
||||
<blockquote class="chill-user-quote">
|
||||
{{ thirdParty.comment|chill_markdown_to_html }}
|
||||
</blockquote>
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'Any comment'|trans }}</span>
|
||||
{% endif %}
|
||||
</dd>
|
||||
|
||||
<dt>{{ 'Contacts'|trans }}</dt>
|
||||
<dd>
|
||||
{% if thirdParty.activeChildren|length == 0 %}
|
||||
<p class="chill-no-data-statement">{{ 'Any contacts associated'|trans }}</p>
|
||||
{% else %}
|
||||
<div class="flex-table">
|
||||
{% for tp in thirdParty.activeChildren %}
|
||||
<div class="item-bloc">
|
||||
{{ tp|chill_entity_render_box({'render': 'bloc', 'addLink': false}) }}
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</dd>
|
||||
|
||||
<dt>{{ 'Centers'|trans }}</dt>
|
||||
<dd>{{ 'The party is visible in those centers'|trans }} : {{ thirdParty.centers|join(', ') }}</dd>
|
||||
<dd>
|
||||
{% set centers = thirdParty|chill_resolve_center %}
|
||||
{% if centers is iterable %}
|
||||
{{ 'The party is visible in those centers'|trans }} :
|
||||
{{ centers|join(', ') }}
|
||||
{% elseif centers is null %}
|
||||
{{ 'The party is not visible in any center'|trans }}
|
||||
{% else %}
|
||||
{{ 'The party is visible in those centers'|trans }} : {{ centers }}
|
||||
{% endif %}
|
||||
</dd>
|
||||
|
||||
</dl>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user