{% extends 'core/export.html' %} {% load i18n %} {% block body %}

{% trans 'Domain' %}

{% for entity in entities %}

{% if entity.is_attribute %}{% trans 'Attribute' %}{% else %}{% trans 'Entity' %}{% endif %}

{% trans 'Path' %}: {{ entity.path }}

{% if entity.comment %}

{% trans 'Comment' %}: {{ entity.comment }}

{% endif %}

{% trans 'Collection' %}: {% if entity.is_collection %}{% trans 'yes' %}{% else %}{% trans 'no' %}{% endif%}

{% if entity.is_attribute %}

{% trans 'Value type' %}: {{ entity.attribute.value_type }}

{% if entity.attribute.unit %}

{% trans 'Unit' %}: {{ entity.attribute.unit }}

{% endif %} {% if entity.attribute.optionsets.all %}

{% trans 'Options' %}:

{% endif %} {% if entity.attribute.range %}

{% trans 'Range' %}:

{% endif %} {% endif %} {% if entity.verbosename %}

{% trans 'Verbose name' %}:

{% endif %} {% if entity.conditions.all %}

{% trans 'Conditions' %}:

{% endif %} {% endfor %} {% endblock %}