add links to project and component in the issue view - fixes #573

Mon, 13 Jan 2025 20:57:40 +0100

author
Mike Becker <universe@uap-core.de>
date
Mon, 13 Jan 2025 20:57:40 +0100
changeset 342
50d94c216c3f
parent 341
354c4498437c
child 343
5fa3e40d0de0

add links to project and component in the issue view - fixes #573

src/main/webapp/WEB-INF/changelogs/changelog-de.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/changelogs/changelog.jspf file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/issue-view.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Mon Jan 13 20:28:31 2025 +0100
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Mon Jan 13 20:57:40 2025 +0100
@@ -27,6 +27,7 @@
 <h3>Version 1.5.0 (Vorschau)</h3>
 
 <ul>
+    <li>Projekt und Komponente sind nun in der Vorgangsansicht direkt verlinkt.</li>
     <li>Versionsinformationen werden nun korrekt in die Vorgangshistorie geschrieben (relevant für RSS-Feeds).</li>
     <li>
         Fehler behoben, bei dem die Formulare für Versionen und Vorgänge existierende Datumsfelder mit dem
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Mon Jan 13 20:28:31 2025 +0100
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Mon Jan 13 20:57:40 2025 +0100
@@ -27,6 +27,7 @@
 <h3>Version 1.5.0 (preview)</h3>
 
 <ul>
+    <li>Add links to project and component in the tabular issue view.</li>
     <li>
         Fix missing affected and target versions in issue history
         (which is why they were never shown in the RSS feed).
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Mon Jan 13 20:28:31 2025 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Mon Jan 13 20:57:40 2025 +0100
@@ -67,12 +67,16 @@
     <tr>
         <th><fmt:message key="project"/></th>
         <td>
-            <c:out value="${issue.project.name}" />
+            <a href="./projects/${issue.project.node}/issues/-/-/">
+                <c:out value="${issue.project.name}" />
+            </a>
         </td>
         <th><fmt:message key="component"/></th>
         <td>
             <c:if test="${not empty issue.component}">
-                <c:out value="${issue.component.name}"/>
+                <a href="./projects/${issue.project.node}/issues/-/${issue.component.node}/">
+                    <c:out value="${issue.component.name}"/>
+                </a>
             </c:if>
             <c:if test="${empty issue.component}">
                 <fmt:message key="placeholder.null-component"/>

mercurial