validate article table
This commit is contained in:
@@ -13,17 +13,25 @@
|
|||||||
<div style="border: 1px solid orange;">
|
<div style="border: 1px solid orange;">
|
||||||
<table style="width: 100%; text-align: center;">
|
<table style="width: 100%; text-align: center;">
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>${article.title}</b></td>
|
<td colspan="3"><b>${article.title}</b></td>
|
||||||
<td>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td width="25%">
|
||||||
|
Author :<br />
|
||||||
|
${article.mainAuthor.firstName} ${article.mainAuthor.lastName}
|
||||||
|
</td>
|
||||||
|
<td width="50%">
|
||||||
|
<a class="download" title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download</a>
|
||||||
|
</td>
|
||||||
|
<td width="25%" valign="bottom">
|
||||||
|
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
|
<c:when test="${article.state != 'REJECTED' and article.state != 'ACCEPTED'}">
|
||||||
<a href="<c:url value="validateOrReject.htm?value=valide&id=${article.id}"/>"
|
<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 ?')">
|
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>
|
<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}"/>"
|
<br />
|
||||||
|
<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 ?')">
|
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>
|
<fmt:message key="validate.reject" /><img src="./images/cancel.png" alt="Reject" /></a>
|
||||||
</c:when>
|
</c:when>
|
||||||
@@ -37,23 +45,19 @@
|
|||||||
State: ${article.state}
|
State: ${article.state}
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
</td>
|
|
||||||
</tr>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
<td><a title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>">Download<img
|
<c:if test="${article.state == 'EVALUATED' or article.state == 'REJECTED' or article.state == 'ACCEPTED'}">
|
||||||
src="./images/cc-download_manager-32x32.png" alt="Download" /></a></td>
|
<tr>
|
||||||
<c:if test="${article.state == 'EVALUATED' or article.state == 'REJECTED' or article.state == 'ACCEPTED'}">
|
<td colspan="3">
|
||||||
<td><a href="<c:url value="listReport.htm?id=${article.id}"/>"><fmt:message key="validate.report" /></a></td>
|
<a href="<c:url value="listReport.htm?id=${article.id}"/>"><fmt:message key="validate.report" /></a>
|
||||||
</c:if>
|
</td>
|
||||||
<c:if test="${article.state == 'SUBMITED'}">
|
</tr>
|
||||||
<td> </td>
|
</c:if>
|
||||||
</c:if>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|
||||||
|
|
||||||
<a href="<c:url value="main.htm"/>">Home</a>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user