Ajout du remove d'evaluation
This commit is contained in:
@@ -1,7 +1,19 @@
|
||||
<%@ include file="/WEB-INF/decorators/include.jsp"%>
|
||||
|
||||
<html>
|
||||
<head></head>
|
||||
<head>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function deleteReport(articleId) {
|
||||
if (confirm("Are you sure you want to remove your evaluation?")) {
|
||||
document.location.href = "removeEvaluation.htm?articleId=" + articleId;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h4 class="title"><fmt:message key="evaluation.choose" /></h4>
|
||||
@@ -50,7 +62,8 @@
|
||||
</c:if>
|
||||
|
||||
<c:if test="${article.evaluated == true and empty article.referee}">
|
||||
<c:if test="${article.article.state != 'REJECTED' and article.article.state != 'ACCEPTED'}">
|
||||
<c:if test="${article.article.state != 'REJECTED' and article.article.state != 'ACCEPTED'}">
|
||||
<a title="Delete the evaluation" id="suppressArticle" title="Delete" href="javascript:deleteReport(${article.article.id});">Remove your evaluation<img src="./images/cc-button_cancel-32x32.png" alt="Delete"/></a><br />
|
||||
<a title="Click to modify evaluation" href="<c:url value="evaluation.htm?id=${article.article.id}&action=modify"/>">Modify the evaluation <img src="./images/cc-kedit-32x32.png" alt="Click to modify evaluation" /></a>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user