Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UFAL/configure special steps #697

Merged
merged 6 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions dspace/config/item-submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,11 @@
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<step-definition id="specialFields" mandatory="true">
<heading>submit.progressbar.describe.stepone</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
</step-definitions>

<!-- The submission-definitions map lays out the detailed definition of -->
Expand Down Expand Up @@ -328,7 +333,7 @@
<!--Step will be to Sign off on the required DSpace License agreement -->
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<!--
Expand Down Expand Up @@ -448,7 +453,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<submission-process name="clariahSubmissions">
Expand All @@ -460,7 +465,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>

<submission-process name="teachingSubmissions">
Expand All @@ -472,7 +477,7 @@
<step id="upload"/>
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
<step id="specialFields"/>
</submission-process>
</submission-definitions>

Expand Down
33 changes: 32 additions & 1 deletion dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2091,7 +2091,7 @@
</row>
</form>

<form name="note">
<form name="specialFields">
<row>
<field>
<dc-schema>local</dc-schema>
Expand All @@ -2104,6 +2104,37 @@
<required></required>
</field>
</row>

<row>
<!-- DC.Relation.Replaces -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>replaces</dc-qualifier>
<repeatable>true</repeatable>
<label>Replaces</label>
<input-type>onebox</input-type>
<hint>URL to a related resource that is supplanted, displaced, or superseded by the described resource. If the replaced resource is in this repository start typing its name or handle and select the resource from the autocomplete popup.</hint>
<required/>
</field>
</row>

<row>
<!-- DC.Relation.IsReplacedBy -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>isreplacedby</dc-qualifier>
<repeatable>true</repeatable>
<label>Is replaced by</label>
<input-type>onebox</input-type>
<hint>A related resource that supplants, displaces, or supersedes the described resource.</hint>
<required/>
<acl>
policy=deny,action=read,grantee-type=user,grantee-id=*
</acl>
</field>
</row>
</form>

</form-definitions>
Expand Down
33 changes: 32 additions & 1 deletion dspace/config/submission-forms_cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1432,7 +1432,7 @@
</row>
</form>

<form name="note">
<form name="specialFields">
<row>
<field>
<dc-schema>local</dc-schema>
Expand All @@ -1445,6 +1445,37 @@
<required></required>
</field>
</row>

<row>
<!-- DC.Relation.Replaces -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>replaces</dc-qualifier>
<repeatable>true</repeatable>
<label>Replaces</label>
<input-type>onebox</input-type>
<hint>URL příbuzného záznamu, který je tímto záznamem nahrazen. Pokud je příbuzný záznam v tomto repozitáři, začněte psát jeho název, nebo handle a vyberte záznam z nabídky.</hint>
<required/>
</field>
</row>

<row>
<!-- DC.Relation.IsReplacedBy -->
<field>
<dc-schema>dc</dc-schema>
<dc-element>relation</dc-element>
<dc-qualifier>isreplacedby</dc-qualifier>
<repeatable>true</repeatable>
<label>Is replaced by</label>
<input-type>onebox</input-type>
<hint>Příbuzný záznam, který nahrazuje tento.</hint>
<required/>
<acl>
policy=deny,action=read,grantee-type=user,grantee-id=*
</acl>
</field>
</row>
</form>

</form-definitions>
Expand Down
Loading