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

Sun, 21 Jun 2020 11:56:36 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 11:56:36 +0200
changeset 90
2c74e36752f9
parent 86
0a658e53177c
child 92
b723b31383ac
permissions
-rw-r--r--

only show relevant versions in issue editor

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

<table class="fullwidth datatable medskip">
    <thead>
    <tr>
        <th><fmt:message key="issue.subject"/></th>
        <th><fmt:message key="issue.assignee"/></th>
        <th><fmt:message key="issue.category"/></th>
        <th><fmt:message key="issue.status"/></th>
        <th><fmt:message key="issue.created"/></th>
        <th><fmt:message key="issue.updated"/></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>
            </td>
            <td>
                <c:if test="${not empty issue.assignee}">
                    <c:out value="${issue.assignee.shortDisplayname}" />
                </c:if>
                <c:if test="${empty issue.assignee}">
                    <fmt:message key="placeholder.null-assignee" />
                </c:if>
            </td>
            <td>
                <fmt:message key="issue.category.${issue.category}" />
            </td>
            <td>
                <fmt:message key="issue.status.${issue.status}" />
            </td>
            <td>
                <fmt:formatDate value="${issue.created}" type="BOTH"/>
            </td>
            <td>
                <fmt:formatDate value="${issue.updated}" type="BOTH"/>
            </td>
            <td>
                <fmt:formatDate value="${issue.eta}" />
            </td>
        </tr>
    </c:forEach>
    </tbody>
</table>

mercurial