render_box person: possible to force disable AltNames; add space between span

This commit is contained in:
2021-07-31 14:45:34 +02:00
parent 1325355ca7
commit 98dd31dffc
5 changed files with 22 additions and 7 deletions

View File

@@ -60,7 +60,10 @@
<li>
<a href="{{ _self.href(bloc.path, bloc.key, item.id) }}">
<span class="badge bg-primary">
{{ item|chill_entity_render_box({'render': 'raw'}) }}
{{ item|chill_entity_render_box({
'render': 'raw',
'addAltNames': false
}) }}
</span>
</a>
</li>
@@ -72,7 +75,7 @@
{% endfor %}
</div>
{% endif %}
{% if (with_display == 'row') %}
<div class="concerned-groups">
{% for bloc in blocs %}
@@ -84,7 +87,10 @@
<li>
<a href="{{ _self.href(bloc.path, bloc.key, item.id) }}">
<span class="badge bg-primary">
{{ item|chill_entity_render_box({'only_denomination': true}) }}
{{ item|chill_entity_render_box({
'render': 'raw',
'addAltNames': false
}) }}
</span>
</a>
</li>