{% load i18n l10n ishtar_helpers link_to_window %} {% with can_edit_current_item=item|can_edit_item:request %}
{% trans "Title" %} | {% trans "Type" %} | {% trans "Authors" %} | {% trans "Numerical ressource" %} | {% if not IS_HISTORY and permission_change_document %}{% endif %} {% if not IS_HISTORY and permission_change_item %} | {% endif %} | |
---|---|---|---|---|---|---|
{{doc.title|default:'-'}} | {{doc.source_type|default:'-'}} | {{doc.authors_list|default:'-'}} | {% if doc.associated_url %} {% trans "Link" %} {% else%}-{% endif %} | {% if not IS_HISTORY and permission_change_document %}{% autoescape off %}{% if doc|can_edit_item:request %} {% else %}–{% endif %}{% endautoescape %} | {% endif %} {% if not IS_HISTORY and permission_change_item %}{% autoescape off %} {% endautoescape %} | {% endif %}