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

Fri, 09 Oct 2020 11:43:15 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 09 Oct 2020 11:43:15 +0200
changeset 116
d24354f21df5
parent 115
c27638a50c92
child 131
67df332e3146
permissions
-rw-r--r--

zero issues in a version should be displayed as DONE and not TODO

<%--
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}">
                        #${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}">
                    <fmt:message key="issue.status.${issue.status}" />
                </div>
            </td>
            <td>
                <fmt:formatDate value="${issue.eta}" />
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>

mercurial