{% extends 'base.html.twig' %} {% set bodyClass = 'user_collectivity show' %} {% set menuItem = 'user_collectivity' %} {% block title %}{{ 'user.organization.title.show'|trans }} - {{ parent() }}{% endblock %} {% block body_head %}

{{ 'user.organization.title.show'|trans }} {{ object }}

{% endblock %} {% block breadcrumb %} {% set breadcrumb = [ { 'name': 'user.organization.breadcrumb.list'|trans, 'link': path('user_collectivity_list') }, { 'name': 'user.organization.breadcrumb.show'|trans({ '%name%': object }) } ] %} {% include '_breadcrumb.html.twig' with {'breadcrumb': breadcrumb} %} {% endblock %} {% block body %} {% if is_granted('ROLE_USER') %}
{% endif %}
{# LEFT #}
{# GENERAL #}

{{ 'global.tab.general'|trans }}

{% if is_granted('ROLE_REFERENT') %} {% endif %} {% if is_granted('ROLE_REFERENT') %} {% endif %}
{# ADDRESS #}

{{ 'user.organization.tab.address'|trans }}

{# MODULES #} {% if is_granted('ROLE_REFERENT') or is_granted('ROLE_ADMIN') %}

{{ 'user.organization.tab.modules'|trans }}

{% endif %} {# SERVICES #} {% if object.isServicesEnabled %}

{{ 'user.organization.tab.services'|trans }}

{% if object.services is not empty %}
{% for service in object.services %} {% endfor %}
{% else %}
{{ 'user.organization.label.service_empty'|trans }}
{% endif %}
{% endif %} {# BILAN #}

{{ 'user.organization.tab.bilan'|trans }}

{# RIGHT #}
{# LEGAL MANAGER #}

{{ 'user.organization.tab.legal_manager'|trans }}

{# DPO #}

{{ 'user.organization.tab.dpo'|trans }}

{% if object.differentDpo %} {% else %} {% endif %} {% if object.differentDpo %} {% else %} {% endif %} {% if object.differentDpo %} {% else %} {% endif %} {% if object.differentDpo %} {% else %} {% endif %} {% if object.differentDpo %} {% else %} {% endif %}
{# REFERENT #}

{{ 'user.organization.tab.referent'|trans }}

{# IT MANAGER #}

{{ 'user.organization.tab.it_manager'|trans }}

{% if object.differentItManager %} {% endif %}
{# COMITE IL CONTACT #}

{{ 'user.organization.tab.comite_il'|trans }}

{% for contact in object.comiteIlContacts %} {% endfor %}
{# USERS LIST #}

{{ 'user.user.title.list'|trans }}

{% for user in object.users|filter(user => user.deletedAt is null) %} {% endfor %}
{# HISTORIC #}

{{ 'global.tab.history'|trans }}

{% endblock %}