mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
93 lines
2.5 KiB
Twig
93 lines
2.5 KiB
Twig
{% extends "CLChillPersonBundle::layout.html.twig" %}
|
|
|
|
{% set activeRouteKey = 'chill_person_view' %}
|
|
|
|
{#
|
|
|
|
This view should receive those arguments:
|
|
- person
|
|
|
|
|
|
#}
|
|
|
|
{% block title %}CLChillPersonBundle:Person:see{% endblock %}
|
|
|
|
{% block personcontent %}
|
|
|
|
<figure>
|
|
<h2>{{ 'views.Person.view.birth'|trans }}</h2>
|
|
|
|
<dl>
|
|
<dt class="inline">{{ 'views.Person.view.dateOfBirth'|trans }}</dt>
|
|
<dd>{{ person.dateOfBirth.format(date_format) }}</dd>
|
|
|
|
|
|
<dt class="inline">{{ 'views.Person.view.placeOfBirth'|trans }}</dt>
|
|
<dd>{{ person.placeOfBirth }}</dd>
|
|
<dd>{% spaceless %}
|
|
|
|
{% if person.countryOfBirth is not null %}
|
|
{{ person.countryOfBirth.label }}
|
|
{% else %}
|
|
{{ 'views.Person.view.country_of_birth_unknow'|trans }}
|
|
{% endif %}
|
|
|
|
{% endspaceless %}</dd>
|
|
|
|
|
|
</dl>
|
|
</figure>
|
|
|
|
<figure>
|
|
<h2>{{ 'views.Person.view.family'|trans }}</h2>
|
|
|
|
<dl>
|
|
<dt class="inline">{{ 'views.Person.view.civil_union'|trans }}</dt>
|
|
<dd>{{ ('person.civil_union.' ~ person.civilUnion)|trans }}</dd>
|
|
|
|
<dt class="inline">{{ 'views.Person.view.nb_of_childs'|trans }}</dt>
|
|
<dd>{% transchoice person.nbOfChild with { '%nb%': person.nbOfChild } %}views.Person.view.nb_of_childs_count{% endtranschoice %}</dd>
|
|
|
|
|
|
</dl>
|
|
</figure>
|
|
|
|
<figure>
|
|
<h2>{{ 'views.Person.view.administrative'|trans }}</h2>
|
|
|
|
<dl>
|
|
<dt class="inline">{{ 'views.Person.view.nationality'|trans }}</dt>
|
|
<dd>
|
|
{% if person.nationality is not null %}
|
|
{{ person.nationality.label }}
|
|
{% else %}
|
|
{{ 'views.Person.view.without_nationality'|trans }}
|
|
{% endif %}
|
|
|
|
</dd>
|
|
|
|
<dt class="inline">{{ 'views.Person.view.national_number'|trans }}</dt>
|
|
<dd>{{ person.belgianNationalNumber }}</dd>
|
|
|
|
|
|
|
|
</dl>
|
|
</figure>
|
|
|
|
<figure>
|
|
<h2>{{ 'views.Person.view.contact'|trans }}</h2>
|
|
|
|
<dl>
|
|
<dt class="inline">{{ 'views.Person.view.address'|trans }}</dt>
|
|
<dd><pre>{{ person.address}} </pre></dd>
|
|
|
|
<dt class="inline">{{ 'views.Person.view.email'|trans }}</dt>
|
|
<dd><pre>{{ person.email}} </pre></dd>
|
|
|
|
|
|
|
|
</dl>
|
|
</figure>
|
|
|
|
{% endblock %}
|