Debugging

This commit is contained in:
Marc Ducobu 2014-11-10 14:17:34 +01:00
parent 0fd0f3994c
commit b50eb2ec81

View File

@ -1,10 +1,7 @@
{% extends "CLChillMainBundle::layout.html.twig" %}
{% extends "ChillMainBundle::layout.html.twig" %}
{% block title %}Recherche {{ pattern }}{% endblock %}
{% block content %}
<table class="striped rounded">
<thead>
<tr>
@ -12,13 +9,12 @@
<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}) }}">
<a href="{{ path('chill_person_view', {person_id : person.getId}) }}">
<span class="personSurname">{{person.surname}}</span>
<span class="personName">{{person.name}}</span>
{% spaceless %}
@ -28,7 +24,9 @@
{% endspaceless %}
</a>
</td>
<td><span class="personDateOfBirth">{{person.dateOfBirth.format(date_format)|default( 'person.without_date_of_birth'|trans )}}</span></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>
@ -37,15 +35,7 @@
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}