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

changeset 105
250c5cbb8276
parent 101
c34c81b87674
child 109
2e0669e814ff
equal deleted inserted replaced
104:8be80ea4f52b 105:250c5cbb8276
32 32
33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/> 33 <c:set var="project" scope="page" value="${viewmodel.projectInfo.project}"/>
34 <%@include file="../jspf/project-header.jsp"%> 34 <%@include file="../jspf/project-header.jsp"%>
35 35
36 <div id="tool-area"> 36 <div id="tool-area">
37 <c:if test="${not empty viewmodel.versionFilter}">
38 <a href="./projects/versions/edit?vid=${viewmodel.versionFilter.id}" class="button"><fmt:message key="button.version.edit"/></a>
39 </c:if>
37 <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a> 40 <a href="./projects/versions/edit" class="button"><fmt:message key="button.version.create"/></a>
38 <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a> 41 <a href="./projects/issues/edit?pid=${project.id}" class="button"><fmt:message key="button.issue.create"/></a>
39 </div> 42 </div>
40 43
41 <h2><fmt:message key="progress" /></h2> 44 <h2><fmt:message key="progress" /></h2>
42 45
43 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}" /> 46 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}" />
44 <%@include file="../jspf/issue-summary.jsp"%> 47 <%@include file="../jspf/issue-summary.jsp"%>
45 48
46 <h2><fmt:message key="issue.without-version" /></h2> 49 <c:if test="${not empty viewmodel.versionFilter}">
47 50 <c:set var="versionInfo" value="${viewmodel.projectDetails.versionInfo}"/>
48 <c:set var="issues" value="${viewmodel.projectDetails.issuesWithoutVersion}"/>
49 <c:set var="summary" value="${viewmodel.projectDetails.issuesWithoutVersionTotal}" />
50 <%@include file="../jspf/issue-summary.jsp"%>
51 <%@include file="../jspf/issue-list.jsp"%>
52
53 <c:forEach var="versionInfo" items="${viewmodel.projectDetails.versionInfos}">
54 <h2> 51 <h2>
55 <fmt:message key="version.label" /> <c:out value="${versionInfo.version.name}" /> - <fmt:message key="version.status.${versionInfo.version.status}"/> 52 <fmt:message key="version.label" /> <c:out value="${versionInfo.version.name}" /> - <fmt:message key="version.status.${versionInfo.version.status}"/>
56 </h2> 53 </h2>
57 54
58 <h3><fmt:message key="issues.resolved"/> </h3> 55 <h3><fmt:message key="issues.resolved"/> </h3>
68 <h3><fmt:message key="issues.reported"/> </h3> 65 <h3><fmt:message key="issues.reported"/> </h3>
69 <c:set var="summary" value="${versionInfo.reportedTotal}"/> 66 <c:set var="summary" value="${versionInfo.reportedTotal}"/>
70 <%@include file="../jspf/issue-summary.jsp"%> 67 <%@include file="../jspf/issue-summary.jsp"%>
71 <%@include file="../jspf/issue-list.jsp"%> 68 <%@include file="../jspf/issue-list.jsp"%>
72 </c:if> 69 </c:if>
73 </c:forEach> 70 </c:if>
71 <c:if test="${empty viewmodel.versionFilter}">
72 <h2>
73 <fmt:message key="issue.without-version" />
74 </h2>
75 <c:set var="summary" value="${viewmodel.projectDetails.issueSummary}"/>
76 <c:set var="issues" value="${viewmodel.projectDetails.issues}"/>
77 <%@include file="../jspf/issue-summary.jsp"%>
78 <c:if test="${not empty issues}">
79 <%@include file="../jspf/issue-list.jsp"%>
80 </c:if>
81 </c:if>

mercurial