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

Sun, 21 Jun 2020 12:24:29 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:24:29 +0200
changeset 92
b723b31383ac
parent 86
0a658e53177c
child 101
c34c81b87674
permissions
-rw-r--r--

adds graphical visualization for issue type and status

     1 <%--
     2 issues: List<Issue>
     3 --%>
     5 <table class="fullwidth datatable medskip">
     6     <thead>
     7     <tr>
     8         <th><fmt:message key="issue.subject"/></th>
     9         <th><fmt:message key="issue.assignee"/></th>
    10         <th><fmt:message key="issue.category"/></th>
    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>
    17     <tbody>
    18     <c:forEach var="issue" items="${issues}">
    19         <tr>
    20             <td>
    21                 <span class="phase-${issue.status.phase}">
    22                     <a href="./projects/issues/edit?issue=${issue.id}">
    23                         <c:out value="${issue.subject}" />
    24                     </a>
    25                 </span>
    26             </td>
    27             <td>
    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 class="hcenter">
    36                 <div class="issue-tag ${issue.category}">
    37                     <fmt:message key="issue.category.${issue.category}" />
    38                 </div>
    39             </td>
    40             <td class="hcenter">
    41                 <div class="issue-tag phase-${issue.status.phase}">
    42                     <fmt:message key="issue.status.${issue.status}" />
    43                 </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>
    51             <td>
    52                 <fmt:formatDate value="${issue.eta}" />
    53             </td>
    54         </tr>
    55     </c:forEach>
    56     </tbody>
    57 </table>

mercurial