Skip to content

Commit

Permalink
DRYD-1493: Add annotation block
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejritter committed Oct 4, 2024
1 parent 54fe369 commit f759798
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/plugins/recordTypes/collectionobject/forms/default.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,19 @@ const template = (configContext) => {
</Col>
</Row>

<Field name="annotationGroupList" subpath="ns2:collectionobjects_annotation">
<Field name="annotationGroup">
<Panel>
<Row>
<Field name="annotationType" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
</Row>
<Field name="annotationNote" />
</Panel>
</Field>
</Field>

<Field name="titleGroupList">
<Field name="titleGroup">
<Panel>
Expand Down
13 changes: 13 additions & 0 deletions src/plugins/recordTypes/collectionobject/forms/tombstone.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ const template = (configContext) => {
</Col>
</Row>

<Field name="annotationGroupList" subpath="ns2:collectionobjects_annotation">
<Field name="annotationGroup">
<Panel>
<Row>
<Field name="annotationType" />
<Field name="annotationDate" />
<Field name="annotationAuthor" />
</Row>
<Field name="annotationNote" />
</Panel>
</Field>
</Field>

<Field name="titleGroupList">
<Field name="titleGroup">
<Field name="title" embedded label="" />
Expand Down

0 comments on commit f759798

Please sign in to comment.