Skip to content

Commit

Permalink
DRYD-1455: Display Related Links (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter authored Dec 19, 2024
1 parent 08e5f98 commit b684a33
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
decade,
displayName,
filterLink,
linkText,
list,
listOf,
nameRole,
Expand Down Expand Up @@ -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: {
Expand Down Expand Up @@ -670,13 +685,25 @@ export default {
'rightReproductionStatement',
],
},
group_reference: {
messages: defineMessages({
label: {
id: 'detailGroup.group_reference.label',
defaultMessage: 'Reference',
},
}),
fields: [
'relatedLinks',
],
},
},
layout: {
fields1: [
'group_id',
'group_description',
'group_production',
'group_rights',
'group_reference',
],
},
},
Expand Down

0 comments on commit b684a33

Please sign in to comment.