Skip to content

Commit

Permalink
DRYD-1506: Add published related links (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter authored Sep 6, 2024
1 parent db66560 commit 707bf24
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/plugins/recordTypes/collectionobject/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,13 @@ const template = (configContext) => {
<Field name="referenceNote" />
</Field>
</Field>

<Field name="publishedRelatedLinkGroupList">
<Field name="publishedRelatedLinkGroup">
<Field name="relatedLink" />
<Field name="descriptiveTitle" />
</Field>
</Field>
</Panel>

<Panel name="collect" collapsible collapsed>
Expand Down
7 changes: 7 additions & 0 deletions src/plugins/recordTypes/collectionobject/forms/photo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ const template = (configContext) => {
<Field name="referenceNote" />
</Field>
</Field>

<Field name="publishedRelatedLinkGroupList">
<Field name="publishedRelatedLinkGroup">
<Field name="relatedLink" />
<Field name="descriptiveTitle" />
</Field>
</Field>
</Panel>

<Panel name="hierarchy" collapsible collapsed>
Expand Down
9 changes: 9 additions & 0 deletions src/plugins/recordTypes/collectionobject/forms/public.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,15 @@ const template = (configContext) => {
<Panel name="viewer" collapsible>
<Field name="viewersContributionNote" />
</Panel>

<Panel name="reference" collapsible collapsed>
<Field name="publishedRelatedLinkGroupList">
<Field name="publishedRelatedLinkGroup">
<Field name="relatedLink" />
<Field name="descriptiveTitle" />
</Field>
</Field>
</Panel>
</Field>
);
};
Expand Down

0 comments on commit 707bf24

Please sign in to comment.