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

@@ -32,7 +32,6 @@
{% macro label(person, options) %}
<div class="entity-label">
<div class="denomination {{ 'h' ~ options['hLevel'] }}">
{%- if options['addLink'] and is_granted('CHILL_PERSON_SEE', person) -%}
<a href="{{ chill_path_add_return_path('chill_person_view', { 'person_id': person.id }) }}">
@@ -74,7 +73,9 @@
{%- if render == 'raw' -%}
{{ _self.raw(person, options) }}
<span class="entity-raw">
{{ _self.raw(person, options) }}
</span>
{%- endif -%}
{%- if render == 'label' -%}