   <%@ include file="/WEB-INF/decorators/include.jsp"%>

<html>
<head></head>
<body>

<h4 class="title"><fmt:message key="evaluation.choose" /></h4>

<p class="formHelp">
  <fmt:message key="evaluation.help"/>
	
</p>

<c:forEach items="${listArticle}" var="article">
	<ul class="article">
		<li class="title">Title: <a href="<c:url value="${article.URL_article}"/>">${article.title}</a></li>
		<li class="author">Author: <b>${article.mainAuthor.firstName} ${article.mainAuthor.lastName}</b></li>
		<li class="topic">Topic: <b>${article.topic}</b></li>
		<c:choose>
		
		<c:when test="${article.state eq 'SUBMITED'}">
		<li class="article_url"><a title="Click to evaluate" href="<c:url value="evaluation.htm?id=${article.id}"/>"><img src="./images/cc-kedit-128x128.png" alt="Click to evaluate" /></a></li>
        </c:when>
        
        <c:otherwise>
		<li class="article_url"><a title="Click to modify evaluation" href="<c:url value="evaluation.htm?id=${article.id}"/>"><img src="./images/cc-button_ok-128x128.png" alt="Click to modify evaluation" /></a></li>
        </c:otherwise>
        </c:choose>
        
        
        	
	</ul>
	<br />
	<hr />
	<br />
</c:forEach>


</body>
</html>