src/main/webapp/WEB-INF/jsp/users.jsp

changeset 257
c1be672af7ff
parent 184
e8eecee6aadf
child 266
65c72e65ff67
     1.1 --- a/src/main/webapp/WEB-INF/jsp/users.jsp	Thu Dec 29 14:03:00 2022 +0100
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/users.jsp	Thu Dec 29 14:50:35 2022 +0100
     1.3 @@ -42,17 +42,36 @@
     1.4  
     1.5  <c:if test="${not empty viewmodel.users}">
     1.6      <table class="datatable medskip">
     1.7 +        <colgroup>
     1.8 +            <col>
     1.9 +            <col>
    1.10 +            <col style="width: 12%">
    1.11 +            <col style="width: 12%">
    1.12 +            <col style="width: 12%">
    1.13 +        </colgroup>
    1.14          <thead>
    1.15          <tr>
    1.16 +            <th colspan="2"></th>
    1.17 +            <th colspan="3" class="hcenter">
    1.18 +                <fmt:message key="issues"/>
    1.19 +            </th>
    1.20 +        </tr>
    1.21 +        <tr>
    1.22              <th></th>
    1.23              <th><fmt:message key="user.displayname"/></th>
    1.24 +            <th class="hcenter"><fmt:message key="issues.open" /></th>
    1.25 +            <th class="hcenter"><fmt:message key="issues.active" /></th>
    1.26 +            <th class="hcenter"><fmt:message key="issues.done" /></th>
    1.27          </tr>
    1.28          </thead>
    1.29          <tbody>
    1.30 -        <c:forEach var="user" items="${viewmodel.users}">
    1.31 +        <c:forEach var="userdata" items="${viewmodel.users}">
    1.32              <tr>
    1.33 -                <td><a href="./users/${user.id}/edit">&#x270e;</a></td>
    1.34 -                <td><c:out value="${user.displayname}"/></td>
    1.35 +                <td><a href="./users/${userdata.user.id}/edit">&#x270e;</a></td>
    1.36 +                <td><c:out value="${userdata.user.displayname}"/></td>
    1.37 +                <td class="hright">${userdata.issueSummary.open}</td>
    1.38 +                <td class="hright">${userdata.issueSummary.active}</td>
    1.39 +                <td class="hright">${userdata.issueSummary.done}</td>
    1.40              </tr>
    1.41          </c:forEach>
    1.42          </tbody>

mercurial