{% load i18n l10n fontawesome_5 %}
{{before_states.count}} {% trans 'States before' %}
{% if is_default_member and has_access %} {% endif %}
{% if sum_before_states < sum_after_states %}
{% trans 'Missing surfaces according to states after: ' %}{{ diff_states|floatformat:2 }} m²
{% endif %}
{% if is_default_member and has_access %} {% endif %} {% for state in before_states %} {% endfor %}
{% trans 'Biotope type' %} {% trans 'Surface' %} {% trans 'Action' %}
{{ state.biotope_type }} {% if state.biotope_type_details.count > 0 %}
{% for detail in state.biotope_type_details.all %} {{detail.long_name}} {% endfor %} {% endif %}
{{ state.surface|floatformat:2 }} m² {% if is_default_member and has_access %} {% endif %}