From ca99ef927e78acfa1f53e4ffb62609a9365008ec Mon Sep 17 00:00:00 2001 From: Allison Lund <67483756+alliomeria@users.noreply.github.com> Date: Fri, 12 Aug 2022 22:55:22 -0400 Subject: [PATCH] Update object_description.twig.html Updated to use bootstrap accordion class for Additional Information section (per recommendation by @DiegoPino & @aksm), and includes @karomabiles recommendation to make the ID for the Related Item section consistent with the webform. --- .../object_description.twig.html | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/d8content/metadatadisplays/object_description.twig.html b/d8content/metadatadisplays/object_description.twig.html index d5917a3..70c5704 100644 --- a/d8content/metadatadisplays/object_description.twig.html +++ b/d8content/metadatadisplays/object_description.twig.html @@ -280,20 +280,20 @@

Language

data.related_item_note|length > 0 %}

Additional Information

-
+
{% if data.note|length > 0 or data.note_publishinginfo|length > 0 %} -
-
+
+
-
-
+
{% if data.note|length > 0 %}
General note:
{% if data.note is iterable %} @@ -322,16 +322,16 @@
Publishing Info Note:
data.physical_description_extent|length > 0 or data.data.physical_description_note_condition|length > 0 %} -
-
+
+
-
-
+
{% if data.physical_location|length > 0 %}
Physical location:

{{ data.physical_location }}

{% endif %} @@ -346,16 +346,16 @@
Condition Note:

{{ data.physical_description_note_condition }}

{% endif %} {% if data.subjects_local|length > 0 or data.subjects_local_names|length > 0 %} -
-
+
+
-
-
+
{% if data.subjects_local %}
    {% if data.subjects_local is iterable %} @@ -389,20 +389,20 @@
    data.related_item_host_location_url|length > 0 or data.related_item_host_type_of_resource|length > 0 or data.related_item_note|length > 0 %} -
    -
    +
    +
    -
    -
    +
    {% if data.related_item_host_display_label|length > 0 and data.related_item_host_title_info_title|length > 0 %}
    {{ data.related_item_host_display_label }}:

    {{ data.related_item_host_title_info_title }}

    {% endif %} - {% if data.related_item_host_display_label is empty and data.related_item_host_title_info_title|length > 0 %} + {% if data.related_item_host_display_label|length < 0 and data.related_item_host_title_info_title|length > 0 %}
    Related Item Host Title Info:

    {{ data.related_item_host_title_info_title }}

    {% endif %} {% if data.related_item_host_local_identifier|length > 0 %}