| 35 |
35 |
| 36 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/> |
36 <jsp:useBean id="versions" type="java.util.List<de.uapcore.lightpit.entities.Version>" scope="request"/> |
| 37 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/> |
37 <jsp:useBean id="issues" type="java.util.List<de.uapcore.lightpit.entities.Issue>" scope="request"/> |
| 38 |
38 |
| 39 <div id="tool-area"> |
39 <div id="tool-area"> |
| 40 <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create" /></a> |
40 <a href="./${moduleInfo.modulePath}/versions/edit" class="button"><fmt:message key="button.version.create"/></a> |
| 41 <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create" /></a> |
41 <a href="./${moduleInfo.modulePath}/issues/edit" class="button"><fmt:message key="button.issue.create"/></a> |
| 42 </div> |
42 </div> |
| 43 |
43 |
| 44 <c:if test="${not empty versions}"> |
44 <c:if test="${not empty versions}"> |
| 45 <table id="version-list" class="datatable medskip"> |
45 <table id="version-list" class="datatable medskip"> |
| 46 <thead> |
46 <thead> |
| 47 <tr> |
47 <tr> |
| 48 <th></th> |
48 <th></th> |
| 49 <th><fmt:message key="thead.version.name"/></th> |
49 <th><fmt:message key="thead.version.name"/></th> |
| 50 <th><fmt:message key="thead.version.status"/></th> |
50 <th><fmt:message key="thead.version.status"/></th> |
| 51 </tr> |
|
| 52 </thead> |
|
| 53 <tbody> |
|
| 54 <c:forEach var="version" items="${versions}"> |
|
| 55 <tr class="nowrap" > |
|
| 56 <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">✎</a></td> |
|
| 57 <td><c:out value="${version.name}"/></td> |
|
| 58 <td><fmt:message key="version.status.${version.status}" /></td> |
|
| 59 </tr> |
51 </tr> |
| 60 </c:forEach> |
52 </thead> |
| 61 </tbody> |
53 <tbody> |
| 62 </table> |
54 <c:forEach var="version" items="${versions}"> |
| |
55 <tr class="nowrap"> |
| |
56 <td style="width: 2em;"><a href="./${moduleInfo.modulePath}/versions/edit?id=${version.id}">✎</a> |
| |
57 </td> |
| |
58 <td><c:out value="${version.name}"/></td> |
| |
59 <td><fmt:message key="version.status.${version.status}"/></td> |
| |
60 </tr> |
| |
61 </c:forEach> |
| |
62 </tbody> |
| |
63 </table> |
| 63 </c:if> |
64 </c:if> |
| 64 |
65 |
| 65 <table id="issue-list" class="datatable medskip"> |
66 <table id="issue-list" class="datatable medskip"> |
| 66 <thead> |
67 <thead> |
| 67 <tr> |
68 <tr> |
| 68 <th></th> |
69 <th></th> |
| 69 <th><fmt:message key="thead.issue.subject" /></th> |
70 <th><fmt:message key="thead.issue.subject"/></th> |
| 70 <th><fmt:message key="thead.issue.category" /></th> |
71 <th><fmt:message key="thead.issue.category"/></th> |
| 71 <th><fmt:message key="thead.issue.status" /></th> |
72 <th><fmt:message key="thead.issue.status"/></th> |
| 72 <th><fmt:message key="thead.issue.created" /></th> |
73 <th><fmt:message key="thead.issue.created"/></th> |
| 73 <th><fmt:message key="thead.issue.updated" /></th> |
74 <th><fmt:message key="thead.issue.updated"/></th> |
| 74 <th><fmt:message key="thead.issue.eta" /></th> |
75 <th><fmt:message key="thead.issue.eta"/></th> |
| 75 <!-- TODO: add other information --> |
76 <!-- TODO: add other information --> |
| 76 </tr> |
77 </tr> |
| 77 </thead> |
78 </thead> |
| 78 <!-- TODO: add actual list --> |
79 <!-- TODO: add actual list --> |
| 79 </table> |
80 </table> |