src/main/webapp/WEB-INF/jsp/project-details.jsp

changeset 75
33b6843fdf8a
parent 74
91d1fc2a3a14
child 78
bb4c52bf3439
     1.1 --- a/src/main/webapp/WEB-INF/jsp/project-details.jsp	Fri May 22 17:26:27 2020 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp	Fri May 22 21:23:57 2020 +0200
     1.3 @@ -66,8 +66,8 @@
     1.4  <table id="issue-list" class="datatable medskip">
     1.5      <thead>
     1.6      <tr>
     1.7 -        <th></th>
     1.8          <th><fmt:message key="thead.issue.subject"/></th>
     1.9 +        <th><fmt:message key="thead.issue.assignee"/></th>
    1.10          <th><fmt:message key="thead.issue.category"/></th>
    1.11          <th><fmt:message key="thead.issue.status"/></th>
    1.12          <th><fmt:message key="thead.issue.created"/></th>
    1.13 @@ -76,5 +76,38 @@
    1.14          <!-- TODO: add other information -->
    1.15      </tr>
    1.16      </thead>
    1.17 -    <!-- TODO: add actual list -->
    1.18 +    <tbody>
    1.19 +    <c:forEach var="issue" items="${issues}">
    1.20 +        <tr>
    1.21 +            <td>
    1.22 +                <a href="./projects/issues/edit?id=${issue.id}">
    1.23 +                <c:out value="${issue.subject}" />
    1.24 +                </a>
    1.25 +            </td>
    1.26 +            <td>
    1.27 +                <c:if test="${not empty issue.assignee}">
    1.28 +                    <c:out value="${issue.assignee.shortDisplayname}" />
    1.29 +                </c:if>
    1.30 +                <c:if test="${empty issue.assignee}">
    1.31 +                    <fmt:message key="placeholder.null-assignee" />
    1.32 +                </c:if>
    1.33 +            </td>
    1.34 +            <td>
    1.35 +                <fmt:message key="issue.category.${issue.category}" />
    1.36 +            </td>
    1.37 +            <td>
    1.38 +                <fmt:message key="issue.status.${issue.status}" />
    1.39 +            </td>
    1.40 +            <td>
    1.41 +                <fmt:formatDate value="${issue.created}" type="BOTH"/>
    1.42 +            </td>
    1.43 +            <td>
    1.44 +                <fmt:formatDate value="${issue.updated}" type="BOTH"/>
    1.45 +            </td>
    1.46 +            <td>
    1.47 +                <fmt:formatDate value="${issue.eta}" />
    1.48 +            </td>
    1.49 +        </tr>
    1.50 +    </c:forEach>
    1.51 +    </tbody>
    1.52  </table>

mercurial