modifs de position de la moyennes

This commit is contained in:
Jialin Wang
2008-02-26 09:28:26 +00:00
parent 08507145ea
commit 2a87bcc352

View File

@@ -15,6 +15,25 @@
<c:otherwise> <c:otherwise>
<c:choose> <c:choose>
<c:when test="${not empty listReport }"> <c:when test="${not empty listReport }">
<div id="account_data">
<p class="legend">Statistic of averages</p>
<fieldset>
<authz:authorize ifAllGranted="ROLE_CHAIRMAN">
<table>
<c:set var="OneRatings" value="${container[0]}" />
<c:forEach items="${OneRatings}" var="rating" varStatus="i">
<tr>
<td>The average for <b>${rating.criterion.name}</b> is
<font color="green">${listMoyenne[i.index]}</font></td>
</tr>
</c:forEach>
</table>
</authz:authorize>
</fieldset>
</div>
<c:forEach items="${listReport}" var="report" varStatus="current"> <c:forEach items="${listReport}" var="report" varStatus="current">
<div id="account_data"> <div id="account_data">
@@ -45,19 +64,6 @@
</c:forEach> </c:forEach>
<authz:authorize ifAllGranted="ROLE_CHAIRMAN">
<table>
<c:set var="OneRatings" value="${container[0]}" />
<c:forEach items="${OneRatings}" var="rating" varStatus="i">
<tr>
<td>The average for ${rating.criterion.name} is
${listMoyenne[i.index]}</td>
</tr>
</c:forEach>
</table>
</authz:authorize>
</c:when> </c:when>
<c:otherwise> <c:otherwise>