{% if schema is none or data is none %}
  • {{ _('This object has been imported without data.') }}
  • {% elif 'propertyOrder' not in schema %} {% for property_name in schema['properties'] %} {% if property_name not in schema['propertyOrder'] %} {% with schema = schema['properties'][property_name] %} {% with data = data[property_name] %}
  • {{ schema.title | get_translated_text(metadata_language) }}: {% include "pdfexport/any.html" %}
  • {% endwith %} {% endwith %} {% endif %} {% endfor %} {% else %} {% for property_name in schema['propertyOrder'] %} {% with schema = schema['properties'][property_name] %} {% if data is not none and property_name in data %} {% set data = data[property_name] %} {% else %} {% set data = none %} {% endif %}
  • {{ schema.title | get_translated_text(metadata_language) }}: {% include "pdfexport/any.html" %}
  • {% endwith %} {% endfor %} {% for property_name in schema['properties'] %} {% if property_name not in schema['propertyOrder'] %} {% with schema = schema['properties'][property_name] %} {% if data is not none and property_name in data %} {% set data = data[property_name] %} {% else %} {% set data = none %} {% endif %}
  • {{ schema.title | get_translated_text(metadata_language) }}: {% include "pdfexport/any.html" %}
  • {% endwith %} {% endif %} {% endfor %} {% endif %}