{% extends "pastell/base.html" %} {% load i18n passerelle %} {% block appbar %}

Pastell - {{ object.title }}

{% if perms.pastell.change_pastell %} {% trans 'edit' %} {% endif %} {% if perms.pastell.delete_pastell %} {% trans 'delete' %} {% endif %} {% endblock %} {% block content %}

{% trans 'Pastell URL:' %} {{ object.url }}

{% trans 'Document type:' %} {% if object.document_type %} {{ object.document_type }} ({% trans 'change' %}) {% else %} {% trans 'select' %} {% endif %}

{% if object.document_type %}

{% trans 'Document template' %}

{% if fields %} {% for field in fields %}

{{ field.key }}: {{ field.value }}

{% endfor %} {% endif %} ({% trans 'edit' %}) {% endif %} {% if perms.base.view_accessright %}

{% trans "Security" %}

{% trans 'Posting documents is limited to the following API users:' %}

{% access_rights_table resource=object permission='can_post_document' %} {% endif %}
{% endblock %}