diff --git a/src/config/default.js b/src/config/default.js index 60f42a9..c6d5fed 100644 --- a/src/config/default.js +++ b/src/config/default.js @@ -6,6 +6,7 @@ import { decade, displayName, filterLink, + linkText, list, listOf, nameRole, @@ -611,6 +612,20 @@ export default { path: 'rightReproductionStatement', })), }, + relatedLinks: { + messages: defineMessages({ + label: { + id: 'detailField.relatedLinks.label', + defaultMessage: 'Related Links', + }, + }), + field: 'collectionobjects_common:publishedRelatedLinkGroupList', + format: listOf(linkText({ + urlFieldName: 'relatedLink', + textFieldName: 'descriptiveTitle', + type: 'external', + })), + }, }, groups: { group_id: { @@ -670,6 +685,17 @@ export default { 'rightReproductionStatement', ], }, + group_reference: { + messages: defineMessages({ + label: { + id: 'detailGroup.group_reference.label', + defaultMessage: 'Reference', + }, + }), + fields: [ + 'relatedLinks', + ], + }, }, layout: { fields1: [ @@ -677,6 +703,7 @@ export default { 'group_description', 'group_production', 'group_rights', + 'group_reference', ], }, },