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

Sat, 29 Aug 2020 11:49:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 29 Aug 2020 11:49:53 +0200
changeset 101
c34c81b87674
parent 92
b723b31383ac
child 103
3d0d030dffa7
permissions
-rw-r--r--

minor visual improvements

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