{% extends "_base.html" %} {% block title %}{{ data.get('properties',{}).get('title',data['id']) }} - {{ super() }}{% endblock %} {% block extrahead %} {% endblock %} {% block crumbs %} {{ super() }} / Collections / {{ data['title'] }} / Items / {{ data['id'] }} {% endblock %} {% block body %}
{{ (data.get('properties',{}).get('type') or '').split('/').pop() | capitalize }}

{{ data.get('properties',{}).get('title',data['id']) }}

{{ data.get('properties',{}).get('description','') | urlize }}

{% if 'properties' in data %} {% for key, value in data['properties'].items() %} {% if key == 'keywords' or key == 'formats' %} {% elif key == 'themes' %} {% elif key == 'externalIds' %} {% elif key == 'providers' %} {% else %} {% if key in ['title','description'] %} {% else %} {% endif %} {% endif %} {% endfor %} {% endif %} {% if data['time'] %} {% endif %} {% if 'assets' in data %} {% endif %}
Property Value
{{ key | capitalize }}
    {% for keyword in value %}
  • {{ keyword }}
  • {% endfor %}
{% for theme in value %} {{ theme['scheme'] }} {% endfor %}
    {% for id in value %}
  • {{ id['scheme'] | urlize }} {{ id['value'] | urlize }}
  • {% endfor %}
{% for cnt in data['properties']['providers'] %} {% if 'name' in cnt and cnt['name'] not in [None,''] %} {{ cnt['name'] }}
{% endif %} {% if 'roles' in cnt and cnt['roles'] is not string %} Role: {{ cnt['roles'] | map(attribute='name') | join(',') }}
{% endif %} {% if 'positionName' in cnt and cnt['positionName'] not in [None,''] %} Position: {{ cnt['positionName'] }})
{% endif %} {% if 'contactInfo' in cnt and cnt['contactInfo'] is not string %} {% for k,e in cnt['contactInfo'].get('phone',{}).items() %} {% if e %}{{ k }}: {{ e }}
{% endif %} {% endfor %} {% for k,e in cnt['contactInfo'].get('email',{}).items() %} {% if e not in [None,''] %}{{ k }}: {{ e | urlize }}
{% endif %} {% endfor %} {% for k,e in cnt['contactInfo'].get('address',{}).items() %} {{ k }}: {% for a,b in e.items() %}{% if b %}{{ b }}, {% endif %}{% endfor %}
{% endfor %} {% if cnt['contactInfo']['url'] %} {{ cnt['contactInfo']['url'].get('href','') | urlize }} {% endif %} {% endif %} {% endfor %}
{{ value | truncate(80, False, '...') }}{{ value | urlize }}
Temporal
    {% if data['time'] is string %}
  • {{ data['time'] }}
  • {% else %} {% for d in data['time'] %}
  • {{ d }}
  • {% endfor %} {% endif %}
Links
Assets
    {% for key, value in data['assets'].items() %} {% if value['title'] %}
  • {{ key }}
  • {% else %}
  • {{ key }}
  • {% endif %} {% endfor %}
{% endblock %} {% block extrafoot %} {% endblock %}