59 lines
2.3 KiB
Plaintext
59 lines
2.3 KiB
Plaintext
<%@ include file="/WEB-INF/decorators/include.jsp"%>
|
|
|
|
<html>
|
|
<head></head>
|
|
<body>
|
|
<h4 class="title">Validate an article</h4>
|
|
|
|
<p class="formHelp">
|
|
Choose whether you want to validate an article (i.e. the article will be featured in the conference) or reject it.
|
|
</p>
|
|
|
|
<c:forEach items="${listArticleValidate}" var="article">
|
|
<div style="border: 1px solid orange;">
|
|
<table style="width: 100%; text-align: center;">
|
|
<tr>
|
|
<td><b>${article.title}</b></td>
|
|
<td>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<c:choose>
|
|
<c:when test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
|
|
<a href="<c:url value="validateOrReject.htm?value=valide&id=${article.id}"/>"
|
|
onclick="return confirm('You are about to validate this article. This operation cannot be undone. Do you want to continue ?')">
|
|
<fmt:message key="validate.validate" /><img src="./images/ok.png" alt="Validate" /></a>
|
|
<a href="<c:url value="validateOrReject.htm?value=reject&id=${article.id}"/>"
|
|
onclick="return confirm('You are about to reject this article. This operation cannot be undone. Do you want to continue ?')">
|
|
<fmt:message key="validate.reject" /><img src="./images/cancel.png" alt="Reject" /></a>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:if test="${article.state == 'REJECTED'}">
|
|
<img src="./images/cancel.png" alt="Rejected" />
|
|
</c:if>
|
|
<c:if test="${article.state == 'ACCEPTED'}">
|
|
<img src="./images/ok.png" alt="Validated" />
|
|
</c:if>
|
|
State: ${article.state}
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img
|
|
src="./images/cc-download_manager-32x32.png" alt="Download" /></a></td>
|
|
<c:if test="${article.state == 'EVALUATED' or article.state == 'REJECTED' or article.state == 'ACCEPTED'}">
|
|
<td><a href="<c:url value="listReport.htm?id=${article.id}"/>"><fmt:message key="validate.report" /></a></td>
|
|
</c:if>
|
|
<c:if test="${article.state == 'SUBMITED'}">
|
|
<td> </td>
|
|
</c:if>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</c:forEach>
|
|
|
|
|
|
<a href="<c:url value="main.htm"/>">Home</a>
|
|
</body>
|
|
</html> |