templates/user/show.html.twig line 1

Open in your IDE?
  1. {% extends 'index.html.twig' %}
  2. {% block breadcrumbs %}
  3.   <span class="breadcrumbs ps-3 ps-xl-5 ps-lg-4 text-danger">
  4.     Directorio de personas > {{user.name}} {{user.lastName}}
  5.   </span>
  6. {% endblock %}
  7. {% block body %}
  8.     <h1 class="d-flex justify-content-center py-3">{{user.name}} {{user.lastName}}</h1>
  9.     <div class="row">
  10.         <span class="col col-lg-6 mx-auto">
  11.             <table class="table d-flex justify-content-center">
  12.                 <tbody class="w-100" style="display:inline-table;">
  13.                     {# <tr>
  14.                         <th>Nº CUD</th>
  15.                         <td>{{ user.interalNumber }}</td>
  16.                     </tr> #}
  17.                     <tr>
  18.                         <th>Apellidos</th>
  19.                         <td>{{ user.lastName }}</td>
  20.                     </tr>
  21.                     <tr>
  22.                         <th>Nombre</th>
  23.                         <td>{{ user.name }}</td>
  24.                     </tr>
  25.                     <tr>
  26.                         <th>Puesto</th>
  27.                         <td>{{ user.occupation }}</td>
  28.                     </tr>
  29.                     <tr>
  30.                         <th>Email CUD</th>
  31.                         <td>{{ user.email }}</td>
  32.                     </tr>
  33.                     <tr>
  34.                         <th>Tel Directo</th>
  35.                         <td>{{ user.phoneExternal }}</td>
  36.                     </tr>
  37.                     <tr>
  38.                         <th>Extensión</th>
  39.                         <td>{{ user.phoneExtension }}</td>
  40.                     </tr>
  41.                     <tr>
  42.                         <th>Identificador 1</th>
  43.                         <td>{{ user.identifier }}</td>
  44.                     </tr>
  45.                     <tr>
  46.                         <th>Identificador 2</th>
  47.                         <td>{{ user.identifier2 }}</td>
  48.                     </tr>
  49.                 </tbody>
  50.             </table>
  51.             <div>
  52.                 <a href="{{ path('app_user_index') }}" class="align-self-end ms-4 ms-lg-0 mt-3 btn btn-danger fw-bold p-2">Volver atrás</a>
  53.             </div>
  54.         </span>
  55.     </div>
  56. {% endblock %}