src/main/webapp/WEB-INF/jsp/project-details.jsp

changeset 88
1438e5a22c55
parent 86
0a658e53177c
child 99
a369fb1b3aa2
--- a/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sun Jun 21 11:10:30 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sun Jun 21 11:38:16 2020 +0200
@@ -53,21 +53,14 @@
 <c:forEach var="versionInfo" items="${viewmodel.versionInfos}">
     <h2>
         <fmt:message key="version.label" /> <c:out value="${versionInfo.version.name}" /> - <fmt:message key="version.status.${versionInfo.version.status}"/>
-        (<a href="./projects/versions/view?vid=${versionInfo.version.id}">open</a>)
+        (<a href="./projects/versions/view?vid=${versionInfo.version.id}"><fmt:message key="version.open" /></a>)
     </h2>
 
-    <h3><fmt:message key="issues.reported"/> </h3>
-    <c:set var="summary" value="${versionInfo.reportedTotal}"/>
-    <c:set var="issues" value="${versionInfo.reported}"/>
-    <%@include file="../jspf/issue-summary.jsp"%>
-
-    <h3><fmt:message key="issues.scheduled"/> </h3>
-    <c:set var="summary" value="${versionInfo.scheduledTotal}"/>
-    <c:set var="issues" value="${versionInfo.scheduled}"/>
-    <%@include file="../jspf/issue-summary.jsp"%>
-
     <h3><fmt:message key="issues.resolved"/> </h3>
     <c:set var="summary" value="${versionInfo.resolvedTotal}"/>
     <c:set var="issues" value="${versionInfo.resolved}"/>
     <%@include file="../jspf/issue-summary.jsp"%>
+    <c:if test="${not empty issues}">
+    <%@include file="../jspf/issue-list.jsp"%>
+    </c:if>
 </c:forEach>
\ No newline at end of file

mercurial