mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-20 17:24:25 +00:00
51 lines
1.5 KiB
Twig
51 lines
1.5 KiB
Twig
{% extends "CLChillMainBundle::layout.html.twig" %}
|
|
{% block title %}Recherche {{ pattern }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<table class="striped rounded">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans %}person.name{% endtrans %}</th>
|
|
<th>{% trans %}person.dateOfBirth{% endtrans %}</th>
|
|
<th>{% trans %}person.nationality{% endtrans %}</th>
|
|
</tr>
|
|
|
|
</thead>
|
|
<tbody>
|
|
{% for person in persons %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ path('chill_person_view', {id : person.id}) }}">
|
|
<span class="personSurname">{{person.surname}}</span>
|
|
<span class="personName">{{person.name}}</span>
|
|
{% spaceless %}
|
|
{% if person.isOpen == false %}
|
|
<i class="icon-lock"></i>
|
|
{% endif %}
|
|
{% endspaceless %}
|
|
</a>
|
|
</td>
|
|
<td><span class="personDateOfBirth">{{person.dateOfBirth.format(date_format)|default( 'person.without_date_of_birth'|trans )}}</span></td>
|
|
<td>
|
|
{% if person.nationality is not null %}
|
|
<span class="personNationality">{{person.nationality.label}}</span>
|
|
{% else %}
|
|
{{ 'views.Person.list.without_nationality'|trans }}
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</table>
|
|
|
|
|
|
{% endblock %} |