mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 17:28:23 +00:00 
			
		
		
		
	Debugging
This commit is contained in:
		| @@ -1,51 +1,41 @@ | ||||
| {% extends "CLChillMainBundle::layout.html.twig" %} | ||||
|  {% block title %}Recherche {{ pattern }}{% endblock %} | ||||
| {% extends "ChillMainBundle::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 %} | ||||
| {% 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', {person_id : person.getId}) }}"> | ||||
|                             <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 %} | ||||
		Reference in New Issue
	
	Block a user