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

Sat, 04 Jun 2022 18:47:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 04 Jun 2022 18:47:06 +0200
changeset 251
7ea0f266da41
parent 220
1f7e76a213dd
child 292
703591e739f4
permissions
-rw-r--r--

add 'updated' to issues table

     1 <%--
     2 issues: List<Issue>
     3 version: Version?
     4 component: Component?
     5 --%>
     6 <table class="fullwidth datatable medskip">
     7     <colgroup>
     8         <col style="width: auto" />
     9         <col style="width: 10%" />
    10         <col style="width: 10%" />
    11         <col style="width: 10%" />
    12     </colgroup>
    13     <thead>
    14         <tr>
    15             <th><fmt:message key="issue.subject"/></th>
    16             <th><fmt:message key="issue.eta"/></th>
    17             <th><fmt:message key="issue.updated"/></th>
    18             <th><fmt:message key="issue.assignee"/></th>
    19         </tr>
    20     </thead>
    21     <tbody>
    22     <c:forEach var="issue" items="${issues}">
    23         <tr>
    24             <td>
    25                 <span class="phase-${issue.status.phase.number}">
    26                     <a href="./projects/${issue.project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/${issue.id}">
    27                         #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" />
    28                     </a>
    29                 </span>
    30                 <div style="display: inline-block; width: .25em"></div>
    31                 <div class="issue-tag ${issue.category}">
    32                     <fmt:message key="issue.category.${issue.category}" />
    33                 </div>
    34                 <div class="issue-tag phase-${issue.status.phase.number}">
    35                     <fmt:message key="issue.status.${issue.status}" />
    36                 </div>
    37             </td>
    38             <td>
    39                 <span class="nowrap <c:if test="${issue.overdue}">eta-overdue</c:if> ">
    40                     <fmt:formatDate value="${issue.eta}" />
    41                 </span>
    42             </td>
    43             <td>
    44                 <span class="nowrap">
    45                     <fmt:formatDate value="${issue.updated}" />
    46                 </span>
    47             </td>
    48             <td>
    49                 <c:if test="${not empty issue.assignee}">
    50                     <c:if test="${not empty issue.assignee.mail}">
    51                         <a href="mailto:${issue.assignee.mail}" title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></a>
    52                     </c:if>
    53                     <c:if test="${empty issue.assignee.mail}">
    54                         <span title="<c:out value="${issue.assignee.displayname}"/>"><c:out value="${issue.assignee.username}"/></span>
    55                     </c:if>
    56                 </c:if>
    57             </td>
    58         </tr>
    59     </c:forEach>
    60     </tbody>
    61 </table>

mercurial