{% extends 'base.html' %} {% load i18n l10n static fontawesome_5 humanize ksp_filters %} {% block head %} {% comment %} dal documentation (django-autocomplete-light) states using form.media for adding needed scripts. This does not work properly with modal forms, as the scripts are not loaded properly inside the modal. Therefore the script linkages from form.media have been extracted and put inside dal/scripts.html to ensure these scripts are loaded when needed. {% endcomment %} {% include 'dal/scripts.html' %} {% endblock %} {% block body %}

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

{% include 'compensation/detail/compensation/includes/controls.html' %}

{% trans 'Title' %} {{obj.title}}
{% trans 'compensates intervention' %} {{obj.intervention.identifier}}
{% trans 'Is CEF compensation' %} {% if obj.is_cef %} {% trans 'Yes' %} {% else %} {% trans 'No' %} {% endif %}
{% trans 'Is Coherence keeping compensation' %} {% if obj.is_coherence_keeping %} {% trans 'Yes' %} {% else %} {% trans 'No' %} {% endif %}
{% trans 'Checked' %} {% if obj.intervention.checked is None %} {% fa5_icon 'star' 'far' %} {% else %} {% fa5_icon 'star' %} {% endif %}
{% trans 'Recorded' %} {% if obj.intervention.recorded is None %} {% fa5_icon 'bookmark' 'far' %} {% else %} {% fa5_icon 'bookmark' %} {% endif %}
{% trans 'Last modified' %} {{obj.modified.timestamp|default_if_none:""|naturalday}}
{{obj.modified.user.username}}
{% trans 'Shared with' %} {% for user in obj.intervention.users.all %} {% include 'user/includes/contact_modal_button.html' %} {% endfor %}
{% include 'map/geom_form.html' %}
{% include 'konova/includes/parcels.html' %}
{% include 'konova/includes/comment_card.html' %}

{% include 'compensation/detail/compensation/includes/states-before.html' %}
{% include 'compensation/detail/compensation/includes/states-after.html' %}
{% include 'compensation/detail/compensation/includes/actions.html' %}
{% include 'compensation/detail/compensation/includes/deadlines.html' %}
{% include 'compensation/detail/compensation/includes/documents.html' %}
{% with 'btn-modal' as btn_class %} {% include 'modal/modal_form_script.html' %} {% endwith %} {% endblock %}