src/main/webapp/WEB-INF/jsp/version-form.jsp

changeset 80
27a25f32048e
parent 78
bb4c52bf3439
child 82
4ec7f2600c83
--- a/src/main/webapp/WEB-INF/jsp/version-form.jsp	Sat May 23 14:13:09 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/version-form.jsp	Sun May 24 15:30:43 2020 +0200
@@ -32,6 +32,11 @@
 <jsp:useBean id="version" type="de.uapcore.lightpit.entities.Version" scope="request"/>
 <jsp:useBean id="versionStatusEnum" type="de.uapcore.lightpit.entities.VersionStatus[]" scope="request"/>
 
+<jsp:useBean id="statsAffected" type="de.uapcore.lightpit.entities.VersionStatistics" scope="request"/>
+<jsp:useBean id="statsScheduled" type="de.uapcore.lightpit.entities.VersionStatistics" scope="request"/>
+<jsp:useBean id="statsResolved" type="de.uapcore.lightpit.entities.VersionStatistics" scope="request"/>
+<jsp:useBean id="statsHideZeros" type="java.lang.Boolean" scope="request"/>
+
 <form action="./projects/versions/commit" method="post">
     <table class="formtable" style="width: 35ch">
         <colgroup>
@@ -95,3 +100,15 @@
         </tfoot>
     </table>
 </form>
+
+<h3><fmt:message key="version.statistics.affected" /></h3>
+<c:set var="stats" value="${statsAffected}" />
+<%@include file="../jspf/version-stats.jsp" %>
+
+<h3><fmt:message key="version.statistics.scheduled" /></h3>
+<c:set var="stats" value="${statsScheduled}" />
+<%@include file="../jspf/version-stats.jsp" %>
+
+<h3><fmt:message key="version.statistics.resolved" /></h3>
+<c:set var="stats" value="${statsResolved}" />
+<%@include file="../jspf/version-stats.jsp" %>
\ No newline at end of file

mercurial