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

{{ 'registry.violation.title.show'|trans }} {{ object }}

{% endblock %} {% block breadcrumb %} {% set breadcrumb = [ { 'name': 'registry.violation.breadcrumb.list'|trans, 'link': path('registry_violation_list') }, { 'name': 'registry.violation.breadcrumb.show'|trans({ '%name%': object }) } ] %} {% include '_breadcrumb.html.twig' with {'breadcrumb': breadcrumb} %} {% endblock %} {% block body %}
{{ 'global.action.back_to_list'|trans }} {% if is_granted('ROLE_USER') and object.deletedAt is null and (actionEnabled) %} {{ 'global.action.edit'|trans }} {% endif %} {{ 'global.action.print'|trans }}
{# LEFT #}
{# GENERAL #}

{{ 'registry.violation.tab.information'|trans }}

{% if object.collectivity.isServicesEnabled %} {% endif %}
{# HISTORIC #}

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

{% if is_granted('ROLE_REFERENT') %} {% endif %}
{# RIGHT #}
{# CONSEQUENCE #}

{{ 'registry.violation.tab.consequence'|trans }}

{# LINKED MODULES #}

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

{# TREATMENTS #} {% include '_Utils/_show_block_treatments.html.twig' with { treatments: object.treatments } %} {# CONTRACTORS #} {% include '_Utils/_show_block_contractors.html.twig' with { contractors: object.contractors } %} {# TOOLS #} {% if object.collectivity.isHasModuleTools %} {% include '_Utils/_show_block_tools.html.twig' with { tools: object.tools } %} {% endif %} {# REQUESTS #} {% include '_Utils/_show_block_requests.html.twig' with { requests: object.requests } %} {# VIOLATIONS #} {% include '_Utils/_show_block_violations.html.twig' with { violations: object.violations } %} {# PROOFS #} {% include '_Utils/_show_block_proofs.html.twig' with { proofs: object.proofs } %} {# MESUREMENTS #} {% include '_Utils/_show_block_mesurements.html.twig' with { mesurements: object.mesurements } %}
{% endblock %}