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

Sat, 29 Aug 2020 17:32:59 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 17:32:59 +0200
changeset 107
b5f740a87af4
parent 103
3d0d030dffa7
child 108
6657dad897ea
permissions
-rw-r--r--

fixes misbehavior when a non-existing project ID is selected

<%--
issues: List<Issue>
--%>

<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}">
                    <a href="./projects/issues/edit?issue=${issue.id}">
                        <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}">
                    <fmt:message key="issue.status.${issue.status}" />
                </div>
            </td>
            <td>
                <fmt:formatDate value="${issue.eta}" />
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>

mercurial