{% load i18n %} {% block body %}

{% trans "Data Source" %} - {{ datasource.name }}

{% if not datasource.is_readonly %} {% trans "Edit" %} {% endif %}
{% if datasource.description %}
{{ datasource.description }}
{% endif %} {% if datasource.data_source %}

{% trans "Configuration" %}

{% with preview_block=view.preview_block %} {% if preview_block %}

{% trans "Preview (first items only)" %}

{{ view.preview_block|safe }}
{% endif %} {% endwith %} {% with formdefs=view.usage_in_formdefs %} {% if formdefs %}

{% trans "Usage in forms" %}

{% endif %} {% endwith %} {% else %}

{% trans "Not configured" %}

{% endif %} {% endblock %}