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

Fri, 23 Oct 2020 11:17:37 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 23 Oct 2020 11:17:37 +0200
changeset 142
c0549bcdf2ab
parent 139
6abc75d213ef
child 144
7e06b75cf1b9
permissions
-rw-r--r--

cancel button in issue form should at least navigate to some issue list

<%--
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/${issue.project.node}/issues/${issue.id}/edit">
                        #${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