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

changeset 311
bf67e0ff7131
parent 308
7b5f6dd8dad6
child 325
388c1d2147d4
--- a/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Mon Aug 05 17:41:56 2024 +0200
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Mon Aug 05 18:40:47 2024 +0200
@@ -2,9 +2,13 @@
 issues: List<Issue>
 issuesHref: String
 showVersionInfo: boolean
+showProjectInfo: boolean
 --%>
 <table class="fullwidth datatable medskip">
     <colgroup>
+        <c:if test="${showProjectInfo}">
+        <col style="width: 10%" />
+        </c:if>
         <col style="width: auto" />
         <col style="width: 10%" />
         <col style="width: 10%" />
@@ -12,6 +16,9 @@
     </colgroup>
     <thead>
         <tr>
+            <c:if test="${showProjectInfo}">
+            <th><fmt:message key="project"/></th>
+            </c:if>
             <th><fmt:message key="issue.subject"/></th>
             <th><fmt:message key="issue.eta"/></th>
             <th><fmt:message key="issue.updated"/></th>
@@ -21,6 +28,13 @@
     <tbody>
     <c:forEach var="issue" items="${issues}">
         <tr>
+            <c:if test="${showProjectInfo}">
+            <td>
+                <a href="./projects/${issue.project.node}">
+                    <c:out value="${issue.project.name}"/>
+                </a>
+            </td>
+            </c:if>
             <td>
                 <span class="phase-${issue.status.phase.number}">
                     <a href="${issuesHref}${issue.id}">

mercurial