Correction d'un bug, un user peut evaluer un article deja evalue
This commit is contained in:
@@ -17,28 +17,32 @@
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<a title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.id}"/></c:url>"><b>${article.title}</b></a> by ${article.mainAuthor.firstName} ${article.mainAuthor.lastName}
|
||||
<a title="Download" href="<c:url value="/download.htm"><c:param name="articleId" value="${article.article.id}"/></c:url>"><b>${article.article.title}</b></a> by ${article.article.mainAuthor.firstName} ${article.article.mainAuthor.lastName}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left">
|
||||
Topic: <b>${article.topic}</b><br/>
|
||||
Abstract: ${article.abstractText}
|
||||
Topic: <b>${article.article.topic}</b><br/>
|
||||
Abstract: ${article.article.abstractText}
|
||||
</td>
|
||||
<td align="right">
|
||||
<c:if test="${article.state eq 'SUBMITED'}">
|
||||
<a title="Click to evaluate" href="<c:url value="evaluation.htm?id=${article.id}"/>">Evaluate <img src="./images/button_follow_32x32.png" alt="Click to evaluate" /></a>
|
||||
<c:if test="${article.evaluated == false}">
|
||||
<c:if test="${article.article.state != 'REJECTED' and article.article.state != 'ACCEPTED'}">
|
||||
<a title="Click to evaluate" href="<c:url value="evaluation.htm?id=${article.article.id}"/>">Evaluate <img src="./images/button_follow_32x32.png" alt="Click to evaluate" /></a>
|
||||
</c:if>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${article.state eq 'EVALUATED'}">
|
||||
<a title="Click to modify evaluation" href="<c:url value="evaluation.htm?id=${article.id}&action=modify"/>">Modify the evaluation <img src="./images/cc-kedit-32x32.png" alt="Click to modify evaluation" /></a>
|
||||
<c:if test="${article.evaluated == true}">
|
||||
<c:if test="${article.article.state != 'REJECTED' and article.article.state != 'ACCEPTED'}">
|
||||
<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>
|
||||
|
||||
<c:if test="${article.state eq 'REJECTED'}">
|
||||
<c:if test="${article.article.state eq 'REJECTED'}">
|
||||
Rejected <img src="./images/cancel32.png" alt="This article has been rejected" />
|
||||
</c:if>
|
||||
|
||||
<c:if test="${article.state eq 'ACCEPTED'}">
|
||||
<c:if test="${article.article.state eq 'ACCEPTED'}">
|
||||
Accepted <img src="./images/ok32.png" alt="This article has been accepted" />
|
||||
</c:if>
|
||||
</td>
|
||||
|
||||
@@ -280,6 +280,7 @@
|
||||
class="org.yacos.web.PCmember.controller.ListEvaluationController">
|
||||
<property name="articleManager" ref="articleManager" />
|
||||
<property name="userManager" ref="userManager" />
|
||||
<property name="evaluationManager" ref="evaluationManager" />
|
||||
</bean>
|
||||
|
||||
<bean id="StateArticleController"
|
||||
|
||||
Reference in New Issue
Block a user