render_box, altnames style

(keep id-number for accompanying context)
This commit is contained in:
2021-07-30 11:12:44 +02:00
parent 4cac5f9a4a
commit 175d6892ec
4 changed files with 21 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
{#
Template to render a thirdparty
* render string ['raw'|'label'|'bloc']
OPTIONS
* render string ['raw'|'label'|'bloc']
* with_valid_from bool
* addLink bool
* addEntity bool
@@ -34,8 +34,8 @@
<span class="badge rounded-pill bg-secondary">{{ 'Third party'|trans }}</span>
{%- endif -%}
{%- if options['addId'] -%}
<span class="id-number" title="{{ 'Third party'|trans ~ ' ' ~ thirdparty.id }}">
{{ person.id|upper }}
<span class="id-number" title="{{ 'Third party'|trans ~ ' ' ~ thirdparty.id }}">
{{ thirdparty.id|upper }}
</span>
{%- endif -%}
</div>