<%-- The contents of this file are subject to the license and copyright detailed in the LICENSE and NOTICE files at the root of the source tree and available online at http://www.dspace.org/license/ --%> <%-- - Perform task page - - Attributes: - workflow.item: The workflow item for the task being performed --%> <%@ page contentType="text/html;charset=UTF-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> <%@ page import="org.dspace.app.webui.servlet.MyDSpaceServlet" %> <%@ page import="org.dspace.content.Collection" %> <%@ page import="org.dspace.content.Item" %> <%@ page import="org.dspace.eperson.EPerson" %> <%@ page import="org.dspace.workflowbasic.BasicWorkflowItem" %> <%@ page import="org.dspace.workflowbasic.service.BasicWorkflowService" %> <% BasicWorkflowItem workflowItem = (BasicWorkflowItem) request.getAttribute("workflow.item"); Collection collection = workflowItem.getCollection(); Item item = workflowItem.getItem(); %> <%--

Perform Task

--%>

<% if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP1) { %>

<%= collection.getName() %>

<% } else if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP2) { %>

<%= collection.getName() %>

<% } else if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP3) { %>

<%= collection.getName() %>

<% } %>

 

<% if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP1 || workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP2) { %>
<%-- --%> " /> <%-- If you have reviewed the item and it is suitable for inclusion in the collection, select "Approve". --%>
<% } else { // Must be an editor (step 3) %>
<%-- --%> " /> <%-- Once you've edited the item, use this option to commit the item to the archive. --%>
<% } if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP1 || workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP2) { %>
"/> <%-- If you have reviewed the item and found it is not suitable for inclusion in the collection, select "Reject". You will then be asked to enter a message indicating why the item is unsuitable, and whether the submitter should change something and re-submit. --%>
<% } if (workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP2 || workflowItem.getState() == BasicWorkflowService.WFSTATE_STEP3) { %>
" /> <%-- Select this option to correct, amend or otherwise edit the item's metadata. --%>
<% } %>
" /> <%-- If you wish to leave this task for now, and return to your "My DSpace", use this option. --%>
" /> <%-- To return the task to the pool so that another user can perform the task, use this option. --%>