src/main/webapp/WEB-INF/jspf/issue-list.jsp

changeset 103
3d0d030dffa7
parent 101
c34c81b87674
child 108
6657dad897ea
equal deleted inserted replaced
102:7eee7cad093d 103:3d0d030dffa7
1 <%-- 1 <%--
2 issues: List<Issue> 2 issues: List<Issue>
3 --%> 3 --%>
4 4
5 <table class="fullwidth datatable medskip"> 5 <table class="fullwidth datatable medskip">
6 <colgroup>
7 <col width="auto" />
8 <col width="10%" />
9 </colgroup>
6 <thead> 10 <thead>
7 <tr> 11 <tr>
8 <th><fmt:message key="issue.subject"/></th> 12 <th><fmt:message key="issue.subject"/></th>
9 <th><fmt:message key="issue.assignee"/></th> 13 <th><fmt:message key="issue.eta"/></th>
10 <th><fmt:message key="issue.category"/></th> 14 </tr>
11 <th><fmt:message key="issue.status"/></th>
12 <th><fmt:message key="issue.created"/></th>
13 <th><fmt:message key="issue.updated"/></th>
14 <th><fmt:message key="issue.eta"/></th>
15 </tr>
16 </thead> 15 </thead>
17 <tbody> 16 <tbody>
18 <c:forEach var="issue" items="${issues}"> 17 <c:forEach var="issue" items="${issues}">
19 <tr> 18 <tr>
20 <td> 19 <td>
21 <span class="phase-${issue.status.phase}"> 20 <span class="phase-${issue.status.phase}">
22 <a href="./projects/issues/edit?issue=${issue.id}"> 21 <a href="./projects/issues/edit?issue=${issue.id}">
23 <c:out value="${issue.subject}" /> 22 <c:out value="${issue.subject}" />
24 </a> 23 </a>
25 </span> 24 </span>
26 </td> 25 <div style="display: inline-block; width: .25em"></div>
27 <td> 26 <div class="issue-tag ${issue.category}">
28 <c:if test="${not empty issue.assignee}">
29 <c:out value="${issue.assignee.shortDisplayname}" />
30 </c:if>
31 <c:if test="${empty issue.assignee}">
32 <fmt:message key="placeholder.null-assignee" />
33 </c:if>
34 </td>
35 <td>
36 <div class="fullwidth issue-tag ${issue.category}">
37 <fmt:message key="issue.category.${issue.category}" /> 27 <fmt:message key="issue.category.${issue.category}" />
38 </div> 28 </div>
39 </td> 29 <div class="issue-tag phase-${issue.status.phase}">
40 <td>
41 <div class="fullwidth issue-tag phase-${issue.status.phase}">
42 <fmt:message key="issue.status.${issue.status}" /> 30 <fmt:message key="issue.status.${issue.status}" />
43 </div> 31 </div>
44 </td>
45 <td>
46 <fmt:formatDate value="${issue.created}" type="BOTH"/>
47 </td>
48 <td>
49 <fmt:formatDate value="${issue.updated}" type="BOTH"/>
50 </td> 32 </td>
51 <td> 33 <td>
52 <fmt:formatDate value="${issue.eta}" /> 34 <fmt:formatDate value="${issue.eta}" />
53 </td> 35 </td>
54 </tr> 36 </tr>

mercurial