Skip to content

Commit

Permalink
Update object_description.twig.html
Browse files Browse the repository at this point in the history
Related Item section fix at line 405 

@karomabiles @DiegoPino @aksm
  • Loading branch information
alliomeria committed Aug 11, 2022
1 parent 3bafb66 commit f53f18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d8content/metadatadisplays/object_description.twig.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ <h5 class="mb-0">
{% if data.related_item_host_display_label|length > 0 and data.related_item_host_title_info_title|length > 0 %}
<h6>{{ data.related_item_host_display_label }}: </h6><p>{{ data.related_item_host_title_info_title }}</p>
{% endif %}
{% if data.related_item_host_display_label|length < 0 and data.related_item_host_title_info_title|length > 0 %}
{% if data.related_item_host_display_label is empty and data.related_item_host_title_info_title|length > 0 %}
<h6>Related Item Host Title Info: </h6><p>{{ data.related_item_host_title_info_title }}</p>
{% endif %}
{% if data.related_item_host_local_identifier|length > 0 %}
Expand Down

2 comments on commit f53f18b

@DiegoPino
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Yes, can't be negative length, good catch!

@karomabiles
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For line 393: Should the card header id = Relateditem instead of RelateditemNotes to match with the default descriptive metadata webform?

Please sign in to comment.