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

Mon, 09 Aug 2021 16:57:56 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 09 Aug 2021 16:57:56 +0200
changeset 217
a5ad7cd5d000
parent 184
e8eecee6aadf
child 220
1f7e76a213dd
permissions
-rw-r--r--

#104 changes base layout from fixed to grid

<%--
issues: List<Issue>
version: Version?
component: Component?
--%>
<table class="fullwidth datatable medskip">
    <colgroup>
        <col width="auto" />
        <col width="10%" />
    </colgroup>
    <thead>
        <tr>
            <th><fmt:message key="issue.subject"/></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.number}">
                    <a href="./projects/${issue.project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/${issue.id}">
                        #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" />
                    </a>
                </span>
                <div style="display: inline-block; width: .25em"></div>
                <div class="issue-tag ${issue.category}">
                    <fmt:message key="issue.category.${issue.category}" />
                </div>
                <div class="issue-tag phase-${issue.status.phase.number}">
                    <fmt:message key="issue.status.${issue.status}" />
                </div>
            </td>
            <td>
                <span class="nowrap <c:if test="${issue.overdue}">eta-overdue</c:if> ">
                    <fmt:formatDate value="${issue.eta}" />
                </span>
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>

mercurial