From 4f32ec435f1de914391f7b2bfced697c4e7c7ac2 Mon Sep 17 00:00:00 2001
From: TNA-Allan <96120886+TNA-Allan@users.noreply.github.com>
Date: Tue, 2 Jan 2024 16:05:05 +0000
Subject: [PATCH] CHORE: sync 22 12 2023 - develop into etna-rosetta (#1499)
Co-authored-by: Andrew Hosgood {{related_material.description}}
- {% if related_material.links %}
- {% for link in related_material.links %}
- {{ link.text }}
- {% endfor %}
- {% endif %}
- {{ record.separated_materials.description }} {{ item }} {{related_material.description}}
+ {% if related_material.links %}
+ {% for link in related_material.links %}
+ {{ link.text }}
{% endfor %}
- {{ item }} {{ item }} {{ item }} {{ separated_material.description }} {{ item }} {{ item }} {{ item }} {{ item }} {{ item }} {{ item }} {{ item }} {{ item }}
-
- {% if record.reference_number %}
-
-
-
- {% endif %}
- {% if record.title %}
- {{ 'reference_number'|as_label }}
- {{ record.reference_number }}
-
-
- {% endif %}
- {% if record.date_created %}
- {{ 'title'|as_label }}
- {{ record.title }}
-
-
- {% endif %}
- {% if record.description %}
- {{ 'date_created'|as_label }}
- {{ record.date_created }}
-
-
- {% endif %}
- {% if record.note %}
- {{ 'description'|as_label }}
- {{ record.description }}
-
-
- {% endif %}
- {% if record.arrangement %}
- {{ 'note'|as_label }}
-
- {{ record.note }}
-
-
-
- {% endif %}
- {% if record.related_materials %}
- {{ 'arrangement'|as_label }}
- {{ record.arrangement }}
-
-
- {% endif %}
- {% if record.separated_materials %}
- {{ 'related_materials'|as_label }}
-
- {% for related_material in record.related_materials %}
- {% if related_material.description %}
-
-
- {{ 'separated_materials'|as_label }}
-
- {% if record.separated_materials.description %}
-
+
+{% endif %}
+
+{% if record.title %}
+ {{ 'reference_number'|as_label }}
+ {{ record.reference_number }}
+
+
+{% endif %}
+
+{% if record.date_created %}
+ {{ 'title'|as_label }}
+ {{ record.title }}
+
+
+{% endif %}
+
+{% if record.description %}
+ {{ 'date_created'|as_label }}
+ {{ record.date_created }}
+
+
+{% endif %}
+
+{% if record.note %}
+ {{ 'description'|as_label }}
+ {{ record.description }}
+
+
+{% endif %}
+
+{% if record.arrangement %}
+ {{ 'note'|as_label }}
+
+ {% for item in record.note %}
+
+
+
+{% endif %}
+
+{% if record.related_materials %}
+ {{ 'arrangement'|as_label }}
+ {{ record.arrangement }}
+
+
- {% endif %}
- {% if record.held_by %}
- {{ 'related_materials'|as_label }}
+
+ {% for related_material in record.related_materials %}
+ {% if related_material.description %}
+
-
-
- {% endif %}
- {% if record.former_department_reference %}
- {{ 'held_by'|as_label }}
-
- {% if record.held_by_url %}
- {{ record.held_by }}
- {% else %}
- {{ record.held_by }}
{% endif %}
-
-
-
- {% endif %}
- {% if record.former_pro_reference %}
- {{ 'former_department_reference'|as_label }}
- {{ record.former_department_reference }}
-
-
- {% endif %}
- {% if record.location_of_originals %}
- {{ 'former_pro_reference'|as_label }}
- {{ record.former_pro_reference }}
-
-
- {% endif %}
- {% if record.legal_status %}
- {{ 'location_of_originals'|as_label }}
-
- {{ record.location_of_originals }}
-
-
-
- {% endif %}
- {% if record.language %}
- {{ 'legal_status'|as_label }}
- {{ record.legal_status }}
-
-
- {% endif %}
- {% if record.map_designation %}
- {{ 'language'|as_label }}
-
- {% for item in record.language %}
-
-
-
- {% endif %}
- {% if record.creator %}
- {{ 'map_designation'|as_label }}
- <{{ record.map_designation }}
-
-
- {% endif %}
- {% if record.physical_description %}
- {{ 'creator'|as_label }}
-
- {% for item in record.creator %}
-
-
-
- {% endif %}
- {% if record.restrictions_on_use %}
- {{ 'physical_description'|as_label }}
- {{ record.physical_description }}
-
-
- {% endif %}
- {% if record.dimensions %}
- {{ 'restrictions_on_use'|as_label }}
- {{ record.restrictions_on_use }}
-
-
- {% endif %}
- {% if record.access_conditions %}
- {{ 'dimensions'|as_label }}
- {{ record.dimensions }}
-
-
- {% endif %}
- {% if record.immediate_source_of_acquisition %}
- {{ 'access_conditions'|as_label }}
- {{ record.access_conditions }}
-
-
+{% endif %}
+
+{% if record.separated_materials %}
+ {{ 'immediate_source_of_acquisition'|as_label }}
-
- {% for item in record.immediate_source_of_acquisition %}
-
+
+
- {% endif %}
- {% if record.map_scale %}
- {{ 'separated_materials'|as_label }}
+
+ {% for separated_material in record.separated_materials %}
+ {% if separated_material.description %}
+
-
-
- {% endif %}
- {% if record.physical_condition %}
- {{ 'map_scale'|as_label }}
- {{ record.map_scale }}
-
-
- {% endif %}
- {% if record.closure_status %}
- {{ 'physical_condition'|as_label }}
- {{ record.physical_condition }}
-
-
- {% endif %}
- {% if record.custodial_history %}
- {{ 'closure'|as_label }}
- {{ record.closure_status }}
-
-
- {% endif %}
- {% if record.accumulation_dates %}
- {{ 'custodial_history'|as_label }}
- {{ record.custodial_history }}
-
-
- {% endif %}
- {% if record.accruals %}
- {{ 'accumulation_dates'|as_label }}
- {{ record.accumulation_dates }}
-
-
- {% endif %}
- {% if record.unpublished_finding_aids %}
- {{ 'accruals'|as_label }}
- {{ record.accruals }}
-
-
- {% endif %}
- {% if record.appraisal_information %}
- {{ 'unpublished_finding_aids'|as_label }}
-
- {{ record.unpublished_finding_aids }}
-
-
-
- {% endif %}
- {% if record.administrative_background %}
- {{ 'appraisal_information'|as_label }}
- {{ record.appraisal_information }}
-
-
- {% endif %}
- {% if record.copies_information %}
- {{ 'administrative_background'|as_label }}
- {{ record.administrative_background }}
-
-
- {% endif %}
- {% if record.publication_note %}
- {{ 'copies_information'|as_label }}
-
- {% for item in record.copies_information %}
-
-
-
- {% endif %}
- {% if record.record_opening %}
- {{ 'publication_note'|as_label }}
-
- {{ record.publication_note }}
-
-
-
- {% endif %}
-
- {{ 'record_opening'|as_label }}
- {{ record.record_opening }}
-
+
+{% endif %}
+
+{% if record.former_department_reference %}
+ {{ 'held_by'|as_label }}
+
+ {% if record.held_by_url %}
+ {{ record.held_by }}
+ {% else %}
+ {{ record.held_by }}
+ {% endif %}
+
+
+
+{% endif %}
+
+{% if record.former_pro_reference %}
+ {{ 'former_department_reference'|as_label }}
+ {{ record.former_department_reference }}
+
+
+{% endif %}
+
+{% if record.location_of_originals %}
+ {{ 'former_pro_reference'|as_label }}
+ {{ record.former_pro_reference }}
+
+
+{% endif %}
+
+{% if record.legal_status %}
+ {{ 'location_of_originals'|as_label }}
+
+ {% for item in record.location_of_originals %}
+
+
+
+{% endif %}
+
+{% if record.language %}
+ {{ 'legal_status'|as_label }}
+ {{ record.legal_status }}
+
+
+{% endif %}
+
+{% if record.map_designation %}
+ {{ 'language'|as_label }}
+
+ {% for item in record.language %}
+
+
+
+{% endif %}
+
+{% if record.creator %}
+ {{ 'map_designation'|as_label }}
+ <{{ record.map_designation }}
+
+
+{% endif %}
+
+{% if record.physical_description %}
+ {{ 'creator'|as_label }}
+
+ {% for item in record.creator %}
+
+
+
+{% endif %}
+
+{% if record.restrictions_on_use %}
+ {{ 'physical_description'|as_label }}
+ {{ record.physical_description }}
+
+
+{% endif %}
+
+{% if record.dimensions %}
+ {{ 'restrictions_on_use'|as_label }}
+ {{ record.restrictions_on_use }}
+
+
+{% endif %}
+
+{% if record.access_condition %}
+ {{ 'dimensions'|as_label }}
+ {{ record.dimensions }}
+
+
+{% endif %}
+
+{% if record.immediate_source_of_acquisition %}
+ {{ 'access_condition'|as_label }}
+ {{ record.access_condition }}
+
+
+{% endif %}
+
+{% if record.map_scale %}
+ {{ 'immediate_source_of_acquisition'|as_label }}
+
+ {% for item in record.immediate_source_of_acquisition %}
+
+
+
+{% endif %}
+
+{% if record.physical_condition %}
+ {{ 'map_scale'|as_label }}
+ {{ record.map_scale }}
+
+
+{% endif %}
+
+{% if record.closure_status %}
+ {{ 'physical_condition'|as_label }}
+ {{ record.physical_condition }}
+
+
+{% endif %}
+
+{% if record.custodial_history %}
+ {{ 'closure'|as_label }}
+ {{ record.closure_status }}
+
+
+{% endif %}
+
+{% if record.accumulation_dates %}
+ {{ 'custodial_history'|as_label }}
+ {{ record.custodial_history }}
+
+
+{% endif %}
+
+{% if record.accruals %}
+ {{ 'accumulation_dates'|as_label }}
+ {{ record.accumulation_dates }}
+
+
+{% endif %}
+
+{% if record.unpublished_finding_aids %}
+ {{ 'accruals'|as_label }}
+ {{ record.accruals }}
+
+
+{% endif %}
+
+{% if record.appraisal_information %}
+ {{ 'unpublished_finding_aids'|as_label }}
+
+ {% for item in record.unpublished_finding_aids %}
+
+
+
+{% endif %}
+
+{% if record.administrative_background %}
+ {{ 'appraisal_information'|as_label }}
+ {{ record.appraisal_information }}
+
+
+{% endif %}
+
+{% if record.copies_information %}
+ {{ 'administrative_background'|as_label }}
+ {{ record.administrative_background }}
+
+
+{% endif %}
+
+{% if record.publication_note %}
+ {{ 'copies_information'|as_label }}
+
+ {% for item in record.copies_information %}
+
+
+
+{% endif %}
+
+{% if record.record_opening %}
+ {{ 'publication_note'|as_label }}
+
+ {% for item in record.publication_note %}
+
+
+
+{% endif %}
diff --git a/templates/records/record_detail.html b/templates/records/record_detail.html
index 04c664353..78686312f 100644
--- a/templates/records/record_detail.html
+++ b/templates/records/record_detail.html
@@ -19,8 +19,14 @@
{{ 'record_opening'|as_label }}
+ {{ record.record_opening }}
+ Description and record details
- {% include "includes/records/record-details.html" %}
- {% include "includes/records/record-crosslink-panel.html" %}
+
+
+ {% include "includes/records/record-details.html" %}
+
+
+
{{ record.listing_description }}
Results for everything across our catalogue and website that matches your search term.
-