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

changeset 257
c1be672af7ff
parent 184
e8eecee6aadf
child 266
65c72e65ff67
--- a/src/main/webapp/WEB-INF/jsp/users.jsp	Thu Dec 29 14:03:00 2022 +0100
+++ b/src/main/webapp/WEB-INF/jsp/users.jsp	Thu Dec 29 14:50:35 2022 +0100
@@ -42,17 +42,36 @@
 
 <c:if test="${not empty viewmodel.users}">
     <table class="datatable medskip">
+        <colgroup>
+            <col>
+            <col>
+            <col style="width: 12%">
+            <col style="width: 12%">
+            <col style="width: 12%">
+        </colgroup>
         <thead>
         <tr>
+            <th colspan="2"></th>
+            <th colspan="3" class="hcenter">
+                <fmt:message key="issues"/>
+            </th>
+        </tr>
+        <tr>
             <th></th>
             <th><fmt:message key="user.displayname"/></th>
+            <th class="hcenter"><fmt:message key="issues.open" /></th>
+            <th class="hcenter"><fmt:message key="issues.active" /></th>
+            <th class="hcenter"><fmt:message key="issues.done" /></th>
         </tr>
         </thead>
         <tbody>
-        <c:forEach var="user" items="${viewmodel.users}">
+        <c:forEach var="userdata" items="${viewmodel.users}">
             <tr>
-                <td><a href="./users/${user.id}/edit">&#x270e;</a></td>
-                <td><c:out value="${user.displayname}"/></td>
+                <td><a href="./users/${userdata.user.id}/edit">&#x270e;</a></td>
+                <td><c:out value="${userdata.user.displayname}"/></td>
+                <td class="hright">${userdata.issueSummary.open}</td>
+                <td class="hright">${userdata.issueSummary.active}</td>
+                <td class="hright">${userdata.issueSummary.done}</td>
             </tr>
         </c:forEach>
         </tbody>

mercurial