<div class="panel-heading">
<c:choose>
<c:when test="${option == 'AllDates,off'}">
- <p style="font-weight:bold;">Jobs statistics for the whole period</p>
+ <p style="font-weight:bold;">Jobs statistics for the whole period (${ndays} days)</p>
</c:when>
<c:otherwise>
<p style="font-weight:bold;">
- Jobs statistics for the time period: <c:out value="${date1}" /> to <c:out value="${date2}"/>
+ Jobs statistics for the time period: <c:out value="${date1}" /> to <c:out value="${date2}"/> (${ndays} days)
</p>
</c:otherwise>
</c:choose>
<td style="text-align: center">${res.key}</td>
<c:set var="value" value="${res.value}"/>
<td style="text-align: right">${value.total}</td>
- <td style="text-align: right"><a href="${onedayquery}?date=${res.key}">${value.totalOK}</a></td>
- <td style="text-align: right">${value.totalStopped}</td>
- <td style="text-align: right">${value.totalError}</td>
- <td style="text-align: right">${value.totalTimeOut}</td>
+ <td style="text-align: right"><a href="${onedayquery}?date=${res.key}&status=OK">${value.totalOK}</a></td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalStopped == 0}">0</c:when>
+ <c:otherwise><a href="${onedayquery}?date=${res.key}&status=Stopped">${value.totalStopped}</a></c:otherwise>
+ </c:choose>
+ </td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalError == 0}">0</c:when>
+ <c:otherwise><a href="${onedayquery}?date=${res.key}&status=JpredError">${value.totalError}</a></c:otherwise>
+ </c:choose>
+ </td>
+ <td style="text-align: right">
+ <c:choose>
+ <c:when test="${value.totalTimeOut == 0}">0</c:when>
+ <c:otherwise><a href="${onedayquery}?date=${res.key}&status=TimedOut">${value.totalTimeOut}</a></c:otherwise>
+ </c:choose>
+ </td>
</tr>
</c:forEach>
</tbody>
</div>
</c:otherwise>
</c:choose>
-
</div>
</div>