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

changeset 292
703591e739f4
parent 251
7ea0f266da41
child 295
1c31921664c4
--- a/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Mon Oct 30 10:06:22 2023 +0100
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Mon Oct 30 14:44:36 2023 +0100
@@ -1,7 +1,6 @@
 <%--
 issues: List<Issue>
-version: Version?
-component: Component?
+issuesHref: String
 --%>
 <table class="fullwidth datatable medskip">
     <colgroup>
@@ -23,7 +22,7 @@
         <tr>
             <td>
                 <span class="phase-${issue.status.phase.number}">
-                    <a href="./projects/${issue.project.node}/issues/${empty version ? '-' : version.node }/${empty component ? '-' : component.node}/${issue.id}">
+                    <a href="./${issuesHref}${issue.id}">
                         #${issue.id}&nbsp;-&nbsp;<c:out value="${issue.subject}" />
                     </a>
                 </span>

mercurial