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

changeset 81
1a2e7b5d48f7
parent 78
bb4c52bf3439
child 82
4ec7f2600c83
--- a/src/main/webapp/WEB-INF/jsp/projects.jsp	Sun May 24 15:30:43 2020 +0200
+++ b/src/main/webapp/WEB-INF/jsp/projects.jsp	Sat May 30 15:26:15 2020 +0200
@@ -44,21 +44,23 @@
 </div>
 
 <c:if test="${not empty projects}">
-    <table id="project-list" class="datatable medskip fullwidth">
+    <table id="project-list" class="datatable medskip">
         <colgroup>
             <col>
-            <col style="width: 10%">
-            <col style="width: 35%">
-            <col style="width: 30%">
-            <col style="width: 25%">
+            <col width="20%">
+            <col width="50%">
+            <col width="10%">
+            <col width="10%">
+            <col width="10%">
         </colgroup>
         <thead>
         <tr>
             <th></th>
             <th><fmt:message key="thead.name"/></th>
-            <th><fmt:message key="thead.description"/></th>
             <th><fmt:message key="thead.repoUrl"/></th>
-            <th><fmt:message key="thead.owner"/></th>
+            <th><fmt:message key="thead.issues.open"/></th>
+            <th><fmt:message key="thead.issues.active"/></th>
+            <th><fmt:message key="thead.issues.done"/></th>
         </tr>
         </thead>
         <tbody>
@@ -67,17 +69,15 @@
                 <td style="width: 2em;"><a href="./projects/edit?id=${project.id}">&#x270e;</a></td>
                 <td><a href="./projects/view?pid=${project.id}"><c:out value="${project.name}"/></a>
                 </td>
-                <td><c:out value="${project.description}"/></td>
                 <td>
                     <c:if test="${not empty project.repoUrl}">
                         <a target="_blank" href="<c:out value="${project.repoUrl}"/>"><c:out
                                 value="${project.repoUrl}"/></a>
                     </c:if>
                 </td>
-                <td>
-                    <c:if test="${not empty project.owner}"><c:out value="${project.owner.displayname}"/></c:if>
-                    <c:if test="${empty project.owner}"><fmt:message key="placeholder.null-owner"/></c:if>
-                </td>
+                <td>${project.openIssues}</td>
+                <td>${project.activeIssues}</td>
+                <td>${project.doneIssues}</td>
             </tr>
         </c:forEach>
         </tbody>

mercurial