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

Thu, 08 Oct 2020 20:38:43 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 08 Oct 2020 20:38:43 +0200
changeset 110
9d0be0b1580f
parent 108
6657dad897ea
permissions
-rw-r--r--

adds indicators for version status

replaces table column "Status" with version tag
fixes New Version form button not overriding the session version ID

<%--
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