mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
DS-2265 Publisher information header in submissions will only be shown when there is information available to show
This commit is contained in:
@@ -377,12 +377,12 @@ public class UploadStep extends AbstractSubmissionStep
|
|||||||
|
|
||||||
|
|
||||||
if (ConfigurationManager.getBooleanProperty("webui.submission.sherparomeo-policy-enabled", true)){
|
if (ConfigurationManager.getBooleanProperty("webui.submission.sherparomeo-policy-enabled", true)){
|
||||||
List div = divIn.addList("submit-upload-new", List.TYPE_FORM);
|
|
||||||
div.setHead(T_sherpa_title);
|
|
||||||
|
|
||||||
SHERPASubmitService sherpaSubmitService = new DSpace().getSingletonService(SHERPASubmitService.class);
|
SHERPASubmitService sherpaSubmitService = new DSpace().getSingletonService(SHERPASubmitService.class);
|
||||||
|
|
||||||
if(sherpaSubmitService.hasISSNs(context, item)) {
|
if(sherpaSubmitService.hasISSNs(context, item)) {
|
||||||
|
List div = divIn.addList("submit-upload-new", List.TYPE_FORM);
|
||||||
|
div.setHead(T_sherpa_title);
|
||||||
|
|
||||||
//Since sherpa web service doesn't work reliable with more than 1 issn, perform the service for each issn
|
//Since sherpa web service doesn't work reliable with more than 1 issn, perform the service for each issn
|
||||||
Set<String> issns = sherpaSubmitService.getISSNs(context, item);
|
Set<String> issns = sherpaSubmitService.getISSNs(context, item);
|
||||||
|
Reference in New Issue
Block a user