Skip to content

Commit

Permalink
Merge pull request #410 from ec-jrc/398-simplified-workflow-submit-bu…
Browse files Browse the repository at this point in the history
…tton

#398 Bug fix added
  • Loading branch information
unaibrrgn authored Apr 30, 2024
2 parents 266f05c + 692774c commit ad9da54
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions sources/Re3gistry2/src/main/webapp/jsp/registryManager.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -227,18 +227,18 @@
boolean showChangesRequest = false;
// Check if the user is the owner of the action
if (Configuration.checkWorkflowSimplified()== false) {
}
if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) {
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) {
showSubmit = true;
}
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) {
showChangesRequest = true;
if (Configuration.checkWorkflowSimplified()== true) {
if (tmp.getRegUser().getSsoreference().equals(regUser.getSsoreference())) {
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT)) {
showSubmit = true;
}
if (tmp.getRegStatus().getLocalid().equals(BaseConstants.KEY_STATUS_LOCALID_DRAFT) && (tmp.getChangeRequest() != null && tmp.getChangeRequest().length() > 0)) {
showChangesRequest = true;
}
}
}
// Checking the status of the action
boolean showActionPublish = false;
Expand Down

0 comments on commit ad9da54

Please sign in to comment.