mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Debugging
This commit is contained in:
parent
0fd0f3994c
commit
b50eb2ec81
@ -1,51 +1,41 @@
|
|||||||
{% extends "CLChillMainBundle::layout.html.twig" %}
|
{% extends "ChillMainBundle::layout.html.twig" %}
|
||||||
{% block title %}Recherche {{ pattern }}{% endblock %}
|
{% block title %}Recherche {{ pattern }}{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<table class="striped rounded">
|
||||||
{% block content %}
|
<thead>
|
||||||
|
<tr>
|
||||||
<table class="striped rounded">
|
<th>{% trans %}person.name{% endtrans %}</th>
|
||||||
<thead>
|
<th>{% trans %}person.dateOfBirth{% endtrans %}</th>
|
||||||
<tr>
|
<th>{% trans %}person.nationality{% endtrans %}</th>
|
||||||
<th>{% trans %}person.name{% endtrans %}</th>
|
</tr>
|
||||||
<th>{% trans %}person.dateOfBirth{% endtrans %}</th>
|
</thead>
|
||||||
<th>{% trans %}person.nationality{% endtrans %}</th>
|
<tbody>
|
||||||
</tr>
|
{% for person in persons %}
|
||||||
|
<tr>
|
||||||
</thead>
|
<td>
|
||||||
<tbody>
|
<a href="{{ path('chill_person_view', {person_id : person.getId}) }}">
|
||||||
{% for person in persons %}
|
<span class="personSurname">{{person.surname}}</span>
|
||||||
<tr>
|
<span class="personName">{{person.name}}</span>
|
||||||
<td>
|
{% spaceless %}
|
||||||
<a href="{{ path('chill_person_view', {id : person.id}) }}">
|
{% if person.isOpen == false %}
|
||||||
<span class="personSurname">{{person.surname}}</span>
|
<i class="icon-lock"></i>
|
||||||
<span class="personName">{{person.name}}</span>
|
{% endif %}
|
||||||
{% spaceless %}
|
{% endspaceless %}
|
||||||
{% if person.isOpen == false %}
|
</a>
|
||||||
<i class="icon-lock"></i>
|
</td>
|
||||||
{% endif %}
|
<td>
|
||||||
{% endspaceless %}
|
<span class="personDateOfBirth">{{person.dateOfBirth.format(date_format)|default( 'person.without_date_of_birth'|trans )}}</span>
|
||||||
</a>
|
</td>
|
||||||
</td>
|
<td>
|
||||||
<td><span class="personDateOfBirth">{{person.dateOfBirth.format(date_format)|default( 'person.without_date_of_birth'|trans )}}</span></td>
|
{% if person.nationality is not null %}
|
||||||
<td>
|
<span class="personNationality">{{person.nationality.label}}</span>
|
||||||
{% if person.nationality is not null %}
|
{% else %}
|
||||||
<span class="personNationality">{{person.nationality.label}}</span>
|
{{ 'views.Person.list.without_nationality'|trans }}
|
||||||
{% else %}
|
{% endif %}
|
||||||
{{ 'views.Person.list.without_nationality'|trans }}
|
</td>
|
||||||
{% endif %}
|
</tr>
|
||||||
</td>
|
{% endfor %}
|
||||||
</tr>
|
</tbody>
|
||||||
|
</table>
|
||||||
|
{% endblock %}
|
||||||
{% endfor %}
|
|
||||||
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
{% endblock %}
|
|
Loading…
x
Reference in New Issue
Block a user