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

changeset 115
c27638a50c92
parent 110
9d0be0b1580f
child 131
67df332e3146
equal deleted inserted replaced
114:dbd5c60c29e6 115:c27638a50c92
29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 29 <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
30 30
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectDetailsView" scope="request" /> 31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.ProjectDetailsView" scope="request" />
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.jspf"%>
35 35
36 <div id="tool-area"> 36 <div id="tool-area">
37 <c:if test="${not empty viewmodel.versionFilter}"> 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> 38 <a href="./projects/versions/edit?vid=${viewmodel.versionFilter.id}" class="button"><fmt:message key="button.version.edit"/></a>
39 </c:if> 39 </c:if>
42 </div> 42 </div>
43 43
44 <h2><fmt:message key="progress" /></h2> 44 <h2><fmt:message key="progress" /></h2>
45 45
46 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}" /> 46 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}" />
47 <%@include file="../jspf/issue-summary.jsp"%> 47 <%@include file="../jspf/issue-summary.jspf"%>
48 48
49 <c:if test="${not empty viewmodel.versionFilter}"> 49 <c:if test="${not empty viewmodel.versionFilter}">
50 <c:set var="versionInfo" value="${viewmodel.projectDetails.versionInfo}"/> 50 <c:set var="versionInfo" value="${viewmodel.projectDetails.versionInfo}"/>
51 <h2> 51 <h2>
52 <fmt:message key="version.name" /> <c:out value="${versionInfo.version.name}" /> - <fmt:message key="version.status.${versionInfo.version.status}"/> 52 <fmt:message key="version.name" /> <c:out value="${versionInfo.version.name}" /> - <fmt:message key="version.status.${versionInfo.version.status}"/>
53 </h2> 53 </h2>
54 54
55 <h3><fmt:message key="issues.resolved"/> </h3> 55 <h3><fmt:message key="issues.resolved"/> </h3>
56 <c:set var="summary" value="${versionInfo.resolvedTotal}"/> 56 <c:set var="summary" value="${versionInfo.resolvedTotal}"/>
57 <%@include file="../jspf/issue-summary.jsp"%> 57 <%@include file="../jspf/issue-summary.jspf"%>
58 <c:set var="issues" value="${versionInfo.resolved}"/> 58 <c:set var="issues" value="${versionInfo.resolved}"/>
59 <c:if test="${not empty issues}"> 59 <c:if test="${not empty issues}">
60 <%@include file="../jspf/issue-list.jsp"%> 60 <%@include file="../jspf/issue-list.jspf"%>
61 </c:if> 61 </c:if>
62 62
63 <c:set var="issues" value="${versionInfo.reported}"/> 63 <c:set var="issues" value="${versionInfo.reported}"/>
64 <c:if test="${not empty issues}"> 64 <c:if test="${not empty issues}">
65 <h3><fmt:message key="issues.reported"/> </h3> 65 <h3><fmt:message key="issues.reported"/> </h3>
66 <c:set var="summary" value="${versionInfo.reportedTotal}"/> 66 <c:set var="summary" value="${versionInfo.reportedTotal}"/>
67 <%@include file="../jspf/issue-summary.jsp"%> 67 <%@include file="../jspf/issue-summary.jspf"%>
68 <%@include file="../jspf/issue-list.jsp"%> 68 <%@include file="../jspf/issue-list.jspf"%>
69 </c:if> 69 </c:if>
70 </c:if> 70 </c:if>
71 <c:if test="${empty viewmodel.versionFilter}"> 71 <c:if test="${empty viewmodel.versionFilter}">
72 <h2> 72 <h2>
73 <fmt:message key="issue.without-version" /> 73 <fmt:message key="issue.without-version" />
74 </h2> 74 </h2>
75 <c:set var="summary" value="${viewmodel.projectDetails.issueSummary}"/> 75 <c:set var="summary" value="${viewmodel.projectDetails.issueSummary}"/>
76 <c:set var="issues" value="${viewmodel.projectDetails.issues}"/> 76 <c:set var="issues" value="${viewmodel.projectDetails.issues}"/>
77 <%@include file="../jspf/issue-summary.jsp"%> 77 <%@include file="../jspf/issue-summary.jspf"%>
78 <c:if test="${not empty issues}"> 78 <c:if test="${not empty issues}">
79 <%@include file="../jspf/issue-list.jsp"%> 79 <%@include file="../jspf/issue-list.jspf"%>
80 </c:if> 80 </c:if>
81 </c:if> 81 </c:if>

mercurial