26 --%> |
26 --%> |
27 <%@page pageEncoding="UTF-8" %> |
27 <%@page pageEncoding="UTF-8" %> |
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
28 <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
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.VersionsView" scope="request" /> |
31 <jsp:useBean id="viewmodel" type="de.uapcore.lightpit.viewmodel.VersionsView" 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.jspf"%> |
34 <%@include file="../jspf/project-header.jspf" %> |
35 |
35 |
36 <div id="tool-area"> |
36 <div id="tool-area"> |
37 <a href="./projects/${project.node}/versions/-/create" class="button"><fmt:message key="button.version.create"/></a> |
37 <a href="./projects/${project.node}/versions/-/create" class="button"><fmt:message key="button.version.create"/></a> |
38 <a href="./projects/${project.node}/issues/-/-/-/create" class="button"><fmt:message key="button.issue.create"/></a> |
38 <a href="./projects/${project.node}/issues/-/-/-/create" class="button"><fmt:message key="button.issue.create"/></a> |
39 </div> |
39 </div> |
40 |
40 |
41 <h2><fmt:message key="progress" /></h2> |
41 <h2><fmt:message key="progress"/></h2> |
42 |
42 |
43 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}" /> |
43 <c:set var="summary" value="${viewmodel.projectInfo.issueSummary}"/> |
44 <%@include file="../jspf/issue-summary.jspf"%> |
44 <%@include file="../jspf/issue-summary.jspf" %> |
45 |
45 |
46 <table id="version-list" class="datatable medskip fullwidth"> |
46 <table id="version-list" class="datatable medskip fullwidth"> |
47 <colgroup> |
47 <colgroup> |
48 <col> |
48 <col> |
49 <col width="28%"> |
49 <col style="width: 28%"> |
50 <col width="12%"> |
50 <col style="width: 12%"> |
51 <col width="12%"> |
51 <col style="width: 12%"> |
52 <col width="12%"> |
52 <col style="width: 12%"> |
53 <col width="12%"> |
53 <col style="width: 12%"> |
54 <col width="12%"> |
54 <col style="width: 12%"> |
55 <col width="12%"> |
55 <col style="width: 12%"> |
56 </colgroup> |
56 </colgroup> |
57 <thead> |
57 <thead> |
58 <tr> |
58 <tr> |
59 <th colspan="2"></th> |
59 <th colspan="2"></th> |
60 <th colspan="3" class="hcenter"> |
60 <th colspan="3" class="hcenter"> |
65 </th> |
65 </th> |
66 </tr> |
66 </tr> |
67 <tr> |
67 <tr> |
68 <th></th> |
68 <th></th> |
69 <th><fmt:message key="version"/></th> |
69 <th><fmt:message key="version"/></th> |
70 <th class="hcenter"><fmt:message key="issues.open" /></th> |
70 <th class="hcenter"><fmt:message key="issues.open"/></th> |
71 <th class="hcenter"><fmt:message key="issues.active" /></th> |
71 <th class="hcenter"><fmt:message key="issues.active"/></th> |
72 <th class="hcenter"><fmt:message key="issues.done" /></th> |
72 <th class="hcenter"><fmt:message key="issues.done"/></th> |
73 <th class="hcenter"><fmt:message key="issues.open" /></th> |
73 <th class="hcenter"><fmt:message key="issues.open"/></th> |
74 <th class="hcenter"><fmt:message key="issues.active" /></th> |
74 <th class="hcenter"><fmt:message key="issues.active"/></th> |
75 <th class="hcenter"><fmt:message key="issues.done" /></th> |
75 <th class="hcenter"><fmt:message key="issues.done"/></th> |
76 </tr> |
76 </tr> |
77 </thead> |
77 </thead> |
78 <tbody> |
78 <tbody> |
79 <c:forEach var="versionInfo" items="${viewmodel.versionInfos}" > |
79 <c:forEach var="versionInfo" items="${viewmodel.versionInfos}"> |
80 <tr> |
80 <tr> |
81 <td rowspan="2" style="width: 2em;"><a href="./projects/${project.node}/versions/${versionInfo.version.node}/edit">✎</a></td> |
81 <td rowspan="2" style="width: 2em;"><a |
|
82 href="./projects/${project.node}/versions/${versionInfo.version.node}/edit">✎</a></td> |
82 <td rowspan="2"> |
83 <td rowspan="2"> |
83 <a href="./projects/${project.node}/issues/${versionInfo.version.node}/-/"> |
84 <a href="./projects/${project.node}/issues/${versionInfo.version.node}/-/"> |
84 <c:out value="${versionInfo.version.name}"/> |
85 <c:out value="${versionInfo.version.name}"/> |
85 </a> |
86 </a> |
86 <div class="version-tag version-${versionInfo.version.status}"> |
87 <div class="version-tag version-${versionInfo.version.status}" |
|
88 <c:if test="${not empty versionInfo.version.releaseOrEolDate}"> |
|
89 title="<fmt:formatDate type="date" value="${versionInfo.version.releaseOrEolDate}"/>" |
|
90 </c:if> |
|
91 > |
87 <fmt:message key="version.status.${versionInfo.version.status}"/> |
92 <fmt:message key="version.status.${versionInfo.version.status}"/> |
88 </div> |
93 </div> |
89 </td> |
94 </td> |
90 <td class="hright">${versionInfo.resolvedTotal.open}</td> |
95 <td class="hright">${versionInfo.resolvedTotal.open}</td> |
91 <td class="hright">${versionInfo.resolvedTotal.active}</td> |
96 <td class="hright">${versionInfo.resolvedTotal.active}</td> |