mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
added missed review initial question code
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2252 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -36,4 +36,67 @@
|
||||
- TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
- DAMAGE.
|
||||
--%>
|
||||
--%>
|
||||
|
||||
<%--
|
||||
- Review initial question page
|
||||
-
|
||||
- Parameters to pass in to this page (from review.jsp)
|
||||
- submission.jump - the step and page number (e.g. stepNum.pageNum) to create a "jump-to" link
|
||||
--%>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" %>
|
||||
<%@ page import="org.dspace.app.webui.servlet.SubmissionController" %>
|
||||
<%@ page import="org.dspace.app.util.SubmissionInfo" %>
|
||||
<%@ page import="org.dspace.app.webui.util.UIUtil" %>
|
||||
<%@ page import="org.dspace.core.Context" %>
|
||||
<%@ page import="org.dspace.content.InProgressSubmission" %>
|
||||
<%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %>
|
||||
|
||||
<%
|
||||
request.setAttribute("LanguageSwitch", "hide");
|
||||
|
||||
// Obtain DSpace context
|
||||
Context context = UIUtil.obtainContext(request);
|
||||
|
||||
//get submission information object
|
||||
SubmissionInfo subInfo = SubmissionController.getSubmissionInfo(context, request);
|
||||
|
||||
InProgressSubmission si = subInfo.getSubmissionItem();
|
||||
|
||||
//get the step number (for jump-to link and to determine page)
|
||||
String stepJump = (String) request.getParameter("submission.jump");
|
||||
%>
|
||||
|
||||
<%-- ====================================================== --%>
|
||||
<%-- INITIAL QUESTIONS --%>
|
||||
<%-- ====================================================== --%>
|
||||
|
||||
<tr>
|
||||
<td class="oddRowOddCol">
|
||||
<table>
|
||||
<tr>
|
||||
<td width="100%">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="metadataFieldLabel"><fmt:message key="jsp.submit.review.init-question1"/></td>
|
||||
<td class="metadataFieldValue"><%= (si.hasMultipleTitles() ? LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state1") : LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state2")) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="metadataFieldLabel"><fmt:message key="jsp.submit.review.init-question2"/></td>
|
||||
<td class="metadataFieldValue"><%= (si.isPublishedBefore() ? LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state1") : LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state2")) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="metadataFieldLabel"><fmt:message key="jsp.submit.review.init-question3"/></td>
|
||||
<td class="metadataFieldValue"><%= (si.hasMultipleFiles() ? LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state1") : LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.review.state2")) %></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td valign="middle">
|
||||
<input type="submit" name="submit_jump_<%=stepJump%>" value="<fmt:message key="jsp.submit.review.button.correct"/>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user