Thu, 15 Oct 2020 13:31:52 +0200
changes the way how to deal with child entities + adds component lead
1 <%--
2 issues: List<Issue>
3 --%>
5 <table class="fullwidth datatable medskip">
6 <colgroup>
7 <col width="auto" />
8 <col width="10%" />
9 </colgroup>
10 <thead>
11 <tr>
12 <th><fmt:message key="issue.subject"/></th>
13 <th><fmt:message key="issue.eta"/></th>
14 </tr>
15 </thead>
16 <tbody>
17 <c:forEach var="issue" items="${issues}">
18 <tr>
19 <td>
20 <span class="phase-${issue.status.phase}">
21 <a href="./projects/issues/edit?issue=${issue.id}">
22 #${issue.id} - <c:out value="${issue.subject}" />
23 </a>
24 </span>
25 <div style="display: inline-block; width: .25em"></div>
26 <div class="issue-tag ${issue.category}">
27 <fmt:message key="issue.category.${issue.category}" />
28 </div>
29 <div class="issue-tag phase-${issue.status.phase}">
30 <fmt:message key="issue.status.${issue.status}" />
31 </div>
32 </td>
33 <td>
34 <fmt:formatDate value="${issue.eta}" />
35 </td>
36 </tr>
37 </c:forEach>
38 </tbody>
39 </table>