diff --git a/src/Bundle/ChillMainBundle/Resources/views/User/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/User/index.html.twig index 0f1168113..b57e17c06 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/User/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/User/index.html.twig @@ -2,20 +2,21 @@ {% block admin_content %} {% embed '@ChillMain/CRUD/_index.html.twig' %} - + {% block index_header %}

{{"Users"|trans}}

{% endblock %} - + {% block filter_order %}{{ filter_order|chill_render_filter_order_helper }}{% endblock %} - + {% block table_entities_thead_tr %} {{ 'Active'|trans }} + {{ 'absence.Is absent'|trans }} {{ 'Username'|trans }} {{ 'Datas'|trans }} {{ 'Actions'|trans }} {% endblock %} - + {% block table_entities_tbody %} {% for entity in entities %} @@ -26,6 +27,13 @@ {% endif %} + + {% if entity.isAbsent %} + + {% else %} + + {% endif %} + {# {% if entity.civility is not null %} @@ -64,13 +72,13 @@
  • - + {% if allow_change_password is same as(true) %}
  • {% endif %} - + {% if is_granted('ROLE_ALLOWED_TO_SWITCH') %}
  • @@ -81,9 +89,9 @@ {% endfor %} {% endblock %} - + {% block pagination %}{{ chill_pagination(paginator) }}{% endblock %} - + {% block list_actions %} {% endblock list_actions %} - + {% endembed %} {% endblock %} diff --git a/src/Bundle/ChillMainBundle/translations/messages.fr.yml b/src/Bundle/ChillMainBundle/translations/messages.fr.yml index 94041b78d..c176dbfae 100644 --- a/src/Bundle/ChillMainBundle/translations/messages.fr.yml +++ b/src/Bundle/ChillMainBundle/translations/messages.fr.yml @@ -594,3 +594,4 @@ absence: You are marked as being absent: Vous êtes indiqué absent. You are listed as absent, as of: Votre absence est indiqué à partir du No absence listed: Aucune absence indiquée. + Is absent: Absent?