{% load i18n mapentity_tags %}

{% trans "HD Views" %} ?

{% if not user.profile.structure == object.structure and not perms.authent.can_bypass_structure %}
{% trans "You are not allowed to modify attachments on this object, this object is not from the same structure." %}
{% else %} {% if perms.common.read_hdviewpoint %} {% if perms.common.add_hdviewpoint %}

{% trans "Add a new HD view" %}

{% endif %} {% for viewpoint in object.view_points.all %} {% if forloop.first %} {% block extra_column_header %}{% endblock %} {% if user.profile.structure == object.structure or perms.authent.can_bypass_structure %} {% block actions_attachment_header %} {% endblock actions_attachment_header %} {% endif %} {% endif %} {% if user.profile.structure == object.structure or perms.authent.can_bypass_structure and perms.common.change_hdviewpoint or perms.common.delete_hdviewpoint%} {% endif %} {% endif %} {% endfor %}
{% trans "File" %} {% trans "Title" %} {% trans "Legend" %} {% trans "Author" %} {% trans "Update date" %}{% trans "Actions" %}
{{ viewpoint.title|safe }} {{ viewpoint.title }} {{ viewpoint.legend }}

{{ viewpoint.author }}

{{ viewpoint.license.label }}

{{ viewpoint.date_update }} {% trans "Details" %} {% if perms.common.change_hdviewpoint %}   {% trans "Update" %} {% endif %} {% if perms.common.delete_hdviewpoint %}   {% trans "Delete" %}
{% else %} {% trans "You are not allowed to see HD views." %} {% endif %} {% endif %}