{{ resource.displayname }}
System Reference Numbers
Primary Reference Number: {{ resource_data|val_from_key:"System Reference Numbers"|val_from_key:"PrimaryReferenceNumber"|val_from_key:"Primary Reference Number"|val_from_key:"@display_value" }}
Legacy ID: {{ resource_data|val_from_key:"System Reference Numbers"|val_from_key:"LegacyID"|val_from_key:"Legacy ID"|val_from_key:"@display_value" }}
{% endif %} {# Record Status #} {% if resource_data|has_key:"Record_Status_Assignment" %}
Record Status
Status: {{ resource_data|val_from_key:"Record_Status_Assignment"|val_from_key:"Record Status"|val_from_key:"@display_value" }}
{% endif %} {# Activity Names #} {% if resource_data|has_key:"Activity Names" %}
Activity Names
-
{% for activity in resource_data|val_from_key:"Activity Names" %}
- {{ activity|val_from_key:"Activity Name"|val_from_key:"@display_value" }} {% endfor %}
{% endif %} {# Activity Types #} {% if resource_data|has_key:"Activity Type" %}
Activity Types
{% endif %} {# Activity Timespan #} {% if resource_data|has_key:"Activity Timespan" %}
Activity Timespan
{% endif %} {# Location Data #} {% if resource_data|has_key:"Location Data" %}
Location Information
National Grid References
{% if resource_data|val_from_key:"Location Data"|has_key:"National Grid References" %} {% with ngr_check=resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References" %} {% if ngr_check.0|has_key:"National Grid Reference" %} {% for ngr in resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References" %} {{ ngr|val_from_key:"National Grid Reference"|val_from_key:"@display_value" }} {% endfor %} {% else %} {{ resource_data|val_from_key:"Location Data"|val_from_key:"National Grid References"|val_from_key:"National Grid Reference"|val_from_key:"@display_value" }} {% endif %} {% endwith %} {% endif %}
Localities/Administrative Areas
{% if resource_data|val_from_key:"Location Data"|has_key:"Localities/Administrative Areas" %} {% for area in resource_data|val_from_key:"Location Data"|val_from_key:"Localities/Administrative Areas" %} {# there is a bug that passes a dict if there are no addresses in this branch... let's check for a key to stop this from causing odd artifacts #} {% if area|val_from_key:"Area Type"|has_key:"@display_value" %} {{ area|val_from_key:"Area Type"|val_from_key:"@display_value" }}: {{ area|val_from_key:"Area Names"|val_from_key:"Area Name"|val_from_key:"@display_value" }} {% else %} {{ area|val_from_key:"Area Names"|val_from_key:"Area Name"|val_from_key:"@display_value" }} {% endif %} {% endfor %} {% endif %}
Addresses
{% endif %} {# Descriptions #} {% if resource_data|has_key:"Activity Descriptions" %}
Activity Descriptions
Description Type :{{ desc|val_from_key:"Activity Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Activity Description"|val_from_key:"@display_value"|safe }}
Description Type :{{ desc|val_from_key:"Activity Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Activity Description"|val_from_key:"@display_value"|safe }}
Description Type: {{ desc|val_from_key:"Activity Description Type"|val_from_key:"@display_value" }}
{{ desc|val_from_key:"Activity Description"|val_from_key:"@display_value"|safe }}
{% endif %} {# Bibliographic Source Citation #} {% if resource_data|has_key:"Bibliographic Source Citation" %}
Bibliographic Source Citations
{% endif %} {# Associated Monuments/Areas/Artefacts/Maritime Vessels/Historic Aircraft #} {% if resource_data|has_key:"Associated Monuments and Areas" %}
Associated Monuments/Areas/Artefacts/Maritime Vessels/Historic Aircraft
{% endif %} {# Parent Activities #} {% if resource_data|has_key:"Parent_Activity" %}
Parent Activities
{% endif %} {# Associated Activities #} {% if resource_data|has_key:"Associated Activities" %}
Associated Activities
{% endif %} {# External Cross References #} {% if resource_data|has_key:"External Cross References" %}
External Cross References
{% endif %} {% endwith %}
{% endif %} {% endwith%} {% endfor %}