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

Sun, 21 Jun 2020 12:32:25 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 21 Jun 2020 12:32:25 +0200
changeset 94
edba952cfc57
parent 92
b723b31383ac
child 101
c34c81b87674
permissions
-rw-r--r--

fix: issue form should always include the currently selected versions

<%--
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 class="hcenter">
                <div class="issue-tag ${issue.category}">
                    <fmt:message key="issue.category.${issue.category}" />
                </div>
            </td>
            <td class="hcenter">
                <div class="issue-tag phase-${issue.status.phase}">
                    <fmt:message key="issue.status.${issue.status}" />
                </div>
            </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