Commit fdaecdfa authored by Julien Fastré's avatar Julien Fastré

add file number in person header

parent 11178441
Pipeline #114327 failed with stages
in 14 seconds
......@@ -25,3 +25,7 @@ Version 1.5.3
- add filtering on accompanying period
- fix problems in gender filter
Master branch
=============
- add filenumber in person header
......@@ -65,6 +65,7 @@ Married: Marié(e)
'Family information': Famille
'Contact information': 'Informations de contact'
'Administrative information': Administratif
File number: Dossier n°
# addresses part
address_street_address_1: Adresse ligne 1
......
......@@ -35,6 +35,8 @@
<span class="open_sansbold">{{ 'First name'|trans|upper}}&nbsp;:</span> {{ person.firstName|upper }}
</div>
<div class="grid-3">
<span class="open_sansbold">{{ 'File number'|trans|upper}}&nbsp;:</span> {{ person.id|upper }}
&mdash;
<i class="fa fa-{% spaceless %}
{% if person.gender == "woman" %}
female
......@@ -44,13 +46,6 @@
male
{% endif %}
{% endspaceless %}"></i>
<i class="fa fa-{% spaceless %}
{% if person.isOpen %}
eye
{% else %}
eye-slash
{% endif %}
{% endspaceless %}"></i>
</div>
</div>
</div>
......@@ -77,14 +72,7 @@
{%- endif -%}
{%- if chill_person.fields.spoken_languages == 'visible' -%}
<div class="grid-3">
<span class="open_sansbold">{{ 'Spoken languages'|trans|upper}}&nbsp;:</span>
{% if person.spokenLanguages|length == 0 %}
{{ 'Unknown spoken languages'|trans }}
{% else %}
{% for lang in person.spokenLanguages %}
{{ lang.name|localize_translatable_string }}{% if not loop.last %},{% endif %}
{% endfor %}
{% endif %}
<span class="open_sansbold">{{ 'Center'|trans|upper}}&nbsp;:</span> {{ person.center.name|upper }}
</div>
{%- endif -%}
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment