{% extends 'base.html.twig' %} {% block title %} {% trans %}COSAP - Fonctionnalités RH{% endtrans %} {% endblock %} {% block body %} {{ parent() }} {% if action == "edit" or action == "add" %}
{% if action == "add" %} {% trans %}Nouvel{% endtrans %} {% else %} {% trans %}Modifier{% endtrans %} {% endif %} {% trans %}Enregistrement{% endtrans %}
{{ include('GRH/functionalityRH/action.html.twig') }}
{% endif %}
{% trans %}Liste des Fonctionnalités RH{% endtrans %} {{ fonctionnalites.getTotalItemCount }}
{% if app.user and is_granted('ROLE_AJOUTER_FUNCTIONALITY_RH') %} {% trans %}nouvel enregistrement{% endtrans %} {% endif %}
{% if not fonctionnalites|length %} {% else %}
{% if app.user and (is_granted('ROLE_MODIFIER_FUNCTIONALITY_RH') or is_granted('ROLE_SUPPRIMER_FUNCTIONALITY_RH')) %} {% endif %} {% for functionality in fonctionnalites %} {% if app.user and (is_granted('ROLE_MODIFIER_FUNCTIONALITY_RH') or is_granted('ROLE_SUPPRIMER_FUNCTIONALITY_RH')) %} {% endif %} {% endfor %}
{% trans %}Fonctionnalité{% endtrans %}{% trans %}Actions{% endtrans %}
{{ functionality.name }} {% if app.user and is_granted('ROLE_MODIFIER_FUNCTIONALITY_RH') %} {% endif %} {% if app.user and is_granted('ROLE_SUPPRIMER_FUNCTIONALITY_RH') %} {% endif %}
{% endif %}
{% endblock %} {% block javascripts %} {{ parent() }} {% include('GRH/functionalityRH/ajax/delete.html.twig') %} {% endblock %}