{% load humanize %} {% load static %}
{% if COMPACT_METADATA_VIEW %} {% spaceless %} {% for value in values %} {% if value.subitem %} ; {% else %} {% if not forloop.first %}
{% endif %}
{{ value.resolved_label }}:
{% endif %} {% if value.crosslinked %} {{ value.value }} {% elif value.markdown_html %} {{ value.markdown_html|safe }} {% else %} {{ value.value|default:" " }} {% endif %} {% if value.owner %} {% endif %} {% if forloop.last %}
{% endif %} {% endfor %} {% endspaceless %} {% else %} {% for value in values %}
{{ value.resolved_label }}:
{% if value.crosslinked %} {{ value.value }} {% elif value.markdown_html %} {{ value.markdown_html|safe }} {% else %} {{ value.value|default:" " }} {% endif %} {% if value.owner %} {% endif %}
{% endfor %} {% endif %} {% for collection in collections %}
Collection:
{{ collection.title }}
{% endfor %} {% if record.created %}
Record created:
{{ record.created|naturalday }}
{% endif %} {% if record.modified %}
Last modified:
{{ record.modified|naturalday }}
{% endif %}