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

{% trans 'Compensation' %} {{comp.identifier}}

{% if has_access %} {% if is_default_member %} {% endif %} {% endif %}

{% trans 'Title' %} {{comp.title}}
{% trans 'compensates intervention' %} {{comp.intervention.identifier}}
{% trans 'Checked' %} {% if comp.intervention.checked is None %} {% fa5_icon 'star' 'far' %} {% else %} {% fa5_icon 'star' %} {% endif %}
{% trans 'Recorded' %} {% if comp.intervention.recorded is None %} {% fa5_icon 'bookmark' 'far' %} {% else %} {% fa5_icon 'bookmark' %} {% endif %}
{% trans 'Last modified' %} {{comp.created.timestamp|default_if_none:""|naturalday}}
{% with comp.created.user as user %} {% include 'user/includes/contact_modal_button.html' %} {% endwith %}
{% trans 'Shared with' %} {% for user in comp.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 'compensation/detail/includes/states-before.html' %}
{% include 'compensation/detail/includes/states-after.html' %}
{% include 'compensation/detail/includes/actions.html' %}
{% include 'compensation/detail/includes/deadlines.html' %}
{% include 'compensation/detail/includes/documents.html' %}
{% with 'btn-modal' as btn_class %} {% include 'modal/modal_form_script.html' %} {% endwith %} {% endblock %}