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

changeset 86
0a658e53177c
child 92
b723b31383ac
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jsp	Mon Jun 01 14:46:58 2020 +0200
@@ -0,0 +1,53 @@
+<%--
+issues: List<Issue>
+--%>
+
+<table class="fullwidth datatable medskip">
+    <thead>
+    <tr>
+        <th><fmt:message key="issue.subject"/></th>
+        <th><fmt:message key="issue.assignee"/></th>
+        <th><fmt:message key="issue.category"/></th>
+        <th><fmt:message key="issue.status"/></th>
+        <th><fmt:message key="issue.created"/></th>
+        <th><fmt:message key="issue.updated"/></th>
+        <th><fmt:message key="issue.eta"/></th>
+    </tr>
+    </thead>
+    <tbody>
+    <c:forEach var="issue" items="${issues}">
+        <tr>
+            <td>
+                <span class="phase-${issue.status.phase}">
+                    <a href="./projects/issues/edit?issue=${issue.id}">
+                        <c:out value="${issue.subject}" />
+                    </a>
+                </span>
+            </td>
+            <td>
+                <c:if test="${not empty issue.assignee}">
+                    <c:out value="${issue.assignee.shortDisplayname}" />
+                </c:if>
+                <c:if test="${empty issue.assignee}">
+                    <fmt:message key="placeholder.null-assignee" />
+                </c:if>
+            </td>
+            <td>
+                <fmt:message key="issue.category.${issue.category}" />
+            </td>
+            <td>
+                <fmt:message key="issue.status.${issue.status}" />
+            </td>
+            <td>
+                <fmt:formatDate value="${issue.created}" type="BOTH"/>
+            </td>
+            <td>
+                <fmt:formatDate value="${issue.updated}" type="BOTH"/>
+            </td>
+            <td>
+                <fmt:formatDate value="${issue.eta}" />
+            </td>
+        </tr>
+    </c:forEach>
+    </tbody>
+</table>

mercurial