add component tag to issue list

Sun, 06 Oct 2024 15:24:32 +0200

author
Mike Becker <universe@uap-core.de>
date
Sun, 06 Oct 2024 15:24:32 +0200
changeset 325
388c1d2147d4
parent 324
61b16fc21f4d
child 326
d5f6331d4adb

add component tag to issue list

fixes #444

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/issues.jsp file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/project-details.jsp file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jspf/issue-list.jspf file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 15:08:50 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 15:24:32 2024 +0200
@@ -27,6 +27,7 @@
 <h3>Version 1.4.0 (Vorschau)</h3>
 
 <ul>
+    <li>Die Vorgangsliste zeigt nun die Komponente, wenn kein Filter auf Komponenten aktiv ist.</li>
     <li>Status und Kategorie eines Vorgangs sind nun auch im RSS-Feed korrekt lokalisiert.</li>
 </ul>
 
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 15:08:50 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 15:24:32 2024 +0200
@@ -27,6 +27,7 @@
 <h3>Version 1.4.0 (snapshot)</h3>
 
 <ul>
+    <li>Add component tag to issue list when no component filter is active.</li>
     <li>Fix missing localization for issue status and category in RSS feed.</li>
 </ul>
 
--- a/src/main/webapp/WEB-INF/jsp/issues.jsp	Sun Oct 06 15:08:50 2024 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issues.jsp	Sun Oct 06 15:24:32 2024 +0200
@@ -41,6 +41,7 @@
 <c:set var="issues" value="${viewmodel.issues}"/>
 <c:set var="showVersionInfo" value="true"/>
 <c:set var="showProjectInfo" value="true"/>
+<c:set var="showComponentInfo" value="true"/>
 <%@include file="../jspf/issue-summary.jspf"%>
 <c:if test="${not empty issues}">
     <%@include file="../jspf/issue-list.jspf"%>
--- a/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sun Oct 06 15:08:50 2024 +0200
+++ b/src/main/webapp/WEB-INF/jsp/project-details.jsp	Sun Oct 06 15:24:32 2024 +0200
@@ -50,6 +50,7 @@
 
 <c:set var="showVersionInfo" value="false"/>
 <c:set var="showProjectInfo" value="false"/>
+<c:set var="showComponentInfo" value="${empty component}"/>
 <c:choose>
     <c:when test="${empty viewmodel.versionInfo}">
         <h2>
--- a/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Sun Oct 06 15:08:50 2024 +0200
+++ b/src/main/webapp/WEB-INF/jspf/issue-list.jspf	Sun Oct 06 15:24:32 2024 +0200
@@ -53,6 +53,11 @@
                     <c:out value="${issue.resolved.name}"/>
                 </div>
                 </c:if>
+                <c:if test="${showComponentInfo and issue.component != null}">
+                    <div class="issue-tag">
+                        <c:out value="${issue.component.name}"/>
+                    </div>
+                </c:if>
             </td>
             <td>
                 <span class="nowrap <c:if test="${issue.overdue}">eta-overdue</c:if> ">

mercurial