{% extends "mapentity/base.html" %} {% load i18n static field_verbose_name mapentity leaflet_tags geojson_tags attachments_tags timesince %} {% block title %}{{ object }} | {{ block.super }}{% endblock title %} {% block mainpanel %}
{% block download %} {% trans "ODT" %} {% trans "DOC" %} {% trans "PDF" %} {% endblock download %}
{% block detailspanel %} {% endblock detailspanel %} {% smart_include "detail" %}
{% block attachmentspanel %} {% endblock attachmentspanel %}

{% trans "Attached files" %}

{% if can_read_attachment %} {% with object=object can_delete_attachment=can_delete_attachment attachment_delete_next=object.get_detail_url|add:'?tab=attachments' %} {% include 'paperclip/details.html' %} {% endwith %} {% else %} {% trans "You are not allowed to see attachments." %} {% endif %}
{% if can_add_attachment %}

{% trans "New file attachment" %}

{% attachment_form object object.get_detail_url|add:'?tab=attachments' %}
{% endif %}
{% if ACTION_HISTORY_ENABLED %}
{% for logentry in logentries %} {% endfor %} {% if logentries_hellip %} {% endif %}
{% trans "Date" %} {% trans "User" %} {% trans "Action" %}
{{ logentry.action_time }} ({{ logentry.action_time|timesince }}) {{ logentry.user }} {{ logentry.action_flag_display }}
{% trans "Full history" %}
{% endif %}
{% block mappanel %} {% if object.get_geom %} {% include "mapentity/mapgeometry_fragment.html" with mapname="detailmap" %} {% else %}

{{ empty_map_message }}

{% endif %} {% endblock mappanel %}
{% endblock mainpanel %}