{% extends 'base.html' %} {% load i18n l10n static fontawesome_5 humanize %} {% block head %} {% endblock %} {% block body %}

{% trans 'Intervention' %} {{intervention.identifier}}

{% if has_access %} {% if is_zb_member %} {% endif %} {% if is_ets_member %} {% endif %} {% if is_default_member %} {% endif %} {% endif %}

{% trans 'Title' %} {{intervention.title}}
{% trans 'Process type' %} {{intervention.legal.process_type|default_if_none:""}}
{% trans 'Law' %} {{intervention.legal.law|default_if_none:""}}
{% trans 'Registration office' %} {{intervention.responsible.registration_office|default_if_none:""}}
{% trans 'Registration office file number' %} {{intervention.responsible.registration_file_number|default_if_none:""}}
{% trans 'Conservation office' %} {{intervention.responsible.conservation_office|default_if_none:""}}
{% trans 'Conversation office file number' %} {{intervention.responsible.conservation_file_number|default_if_none:""}}
{% trans 'Intervention handler' %} {{intervention.responsible.handler|default_if_none:""}}
{% trans 'Checked' %} {% if intervention.checked is None %} {% fa5_icon 'star' 'far' %} {% else %} {% fa5_icon 'star' %} {% endif %}
{% trans 'Recorded' %} {% if intervention.recorded is None %} {% fa5_icon 'bookmark' 'far' %} {% else %} {% fa5_icon 'bookmark' %} {% endif %}
{% trans 'Registration date' %} {{intervention.legal.registration_date|default_if_none:""}}
{% trans 'Binding on' %} {{intervention.legal.binding_date|default_if_none:""}}
{% trans 'Last modified' %} {{intervention.created.timestamp|default_if_none:""|naturalday}}
{% with intervention.created.user as user %} {% include 'user/includes/contact_modal_button.html' %} {% endwith %}
{% trans 'Shared with' %} {% for user in intervention.users.all %} {% include 'user/includes/contact_modal_button.html' %} {% endfor %}
{% if geom_form.area == 0 %}
{% trans 'No geometry added, yet.' %}
{% endif %} {{geom_form.media}} {{geom_form.geom}}

{% include 'intervention/detail/includes/compensations.html' %}
{% include 'intervention/detail/includes/payments.html' %}
{% include 'intervention/detail/includes/eco-account-withdraws.html' %}
{% include 'intervention/detail/includes/documents.html' %}
{% with 'btn-modal' as btn_class %} {% include 'modal/modal_form_script.html' %} {% endwith %} {% endblock %}