Skip to content

Commit

Permalink
The submitter can add a note during submission workflow (#693)
Browse files Browse the repository at this point in the history
* Added a new Step for the Note with czech translation

* Updated script for copying config to not copy solr cores
  • Loading branch information
milanmajchrak authored Jul 18, 2024
1 parent 9c1b2d2 commit 480c9ec
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
9 changes: 9 additions & 0 deletions dspace/config/item-submission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
<processing-class>org.dspace.app.rest.submit.step.ClarinNoticeStep</processing-class>
<type>clarin-notice</type>
</step-definition>
<step-definition id="note">
<heading>submit.progressbar.describe.stepone</heading>
<processing-class>org.dspace.app.rest.submit.step.DescribeStep</processing-class>
<type>submission-form</type>
</step-definition>
<!-- The following set of DescribeStep <step-definition>s all point to forms (of the same name) which are
defined in submission-forms.xml -->
<step-definition id="traditionalpageone" mandatory="true">
Expand Down Expand Up @@ -323,6 +328,7 @@
<!--Step will be to Sign off on the required DSpace License agreement -->
<step id="license"/>
<step id="clarin-license"/>
<step id="note"/>
</submission-process>

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

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

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

Expand Down
15 changes: 15 additions & 0 deletions dspace/config/submission-forms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2091,6 +2091,21 @@
</row>
</form>

<form name="note">
<row>
<field>
<dc-schema>local</dc-schema>
<dc-element>submission</dc-element>
<dc-qualifier>note</dc-qualifier>
<repeatable>false</repeatable>
<label>Note</label>
<input-type>textarea</input-type>
<hint>Leave a note for the editors/reviewers</hint>
<required></required>
</field>
</row>
</form>

</form-definitions>


Expand Down
15 changes: 15 additions & 0 deletions dspace/config/submission-forms_cs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1432,6 +1432,21 @@
</row>
</form>

<form name="note">
<row>
<field>
<dc-schema>local</dc-schema>
<dc-element>submission</dc-element>
<dc-qualifier>note</dc-qualifier>
<repeatable>false</repeatable>
<label>Vzkaz</label>
<input-type>textarea</input-type>
<hint>Zde můžete zanechat vzkaz editorům.</hint>
<required></required>
</field>
</row>
</form>

</form-definitions>


Expand Down
2 changes: 1 addition & 1 deletion scripts/fast-build/config-update.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ xcopy /e /h /i /q /y %dspace_source%\dspace\config\ %dspace_application%\config\

cd %dspace_source%\scripts\fast-build\

call update-solr-configsets.bat
REM call update-solr-configsets.bat

0 comments on commit 480c9ec

Please sign in to comment.