Add posibility to look at failed jobs
[proteocache.git] / webapp / view / reportJobStatisticsOneDay.jsp
index 719ace8..1176913 100644 (file)
@@ -11,7 +11,7 @@
        <div class="container">
                <jsp:include page="fragments/mainmenu.jsp" />
                <spring:url value="/joblog/query" var="jobquery" />
-               <spring:url value="/stat/oneday?date=${date}" var="thequery" />
+               <spring:url value="/stat/oneday?date=${date}&status=${status}" var="thequery" />
 
        <ul class="nav navbar-nav navbar-right">
                <li>
                        </tr>
                </thead>
                <tbody>
-                       <c:forEach items="${results}" var="res" varStatus="status">
+                       <c:forEach items="${results.jobidAndSeq}" var="res" varStatus="status">
                                <tr>
-                                       <td><a href="${jobquery}?IdJob=${res.id}">${res.id}</a></td>
+                                       <td><a href="${jobquery}?IdJob=${res.key}">${res.key}</a></td>
                                        <c:choose>
-                                       <c:when test="${res.prot == ''}">
+                                       <c:when test="${res.value == ''}">
                                                        <td>Job with alignment</td>
                                        </c:when>
                                        <c:otherwise>
-                                               <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.prot}</td>
+                                               <td style="text-align: left; border-buttom: dotted; font-family: monospace">${res.value}</td>
                                        </c:otherwise>
                                        </c:choose>