add project name to global RSS feed - fixes #480

Sat, 09 Nov 2024 09:16:41 +0100

author
Mike Becker <universe@uap-core.de>
date
Sat, 09 Nov 2024 09:16:41 +0100
changeset 331
78a84c344efb
parent 330
aa16d9a48515
child 332
dc1d44bb9992

add project name to global RSS feed - fixes #480

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-feed.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sun Oct 06 18:25:16 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog-de.jspf	Sat Nov 09 09:16:41 2024 +0100
@@ -32,6 +32,7 @@
     <li>Verbesserte Anordnung der Buttons zum Erstellen neuer Versionen oder Komponenten.</li>
     <li>Kritischen Fehler behoben, bei dem das Speichern eines aus der globalen Liste geöffneten Vorgangs
         zum Verlust aller Daten dieses Vorgangs führte.</li>
+    <li>Der globale RSS-Feed enthält nun auch den Projektnamen im Titel eines Eintrages.</li>
     <li>Status und Kategorie eines Vorgangs sind nun auch im RSS-Feed korrekt lokalisiert.</li>
     <li>Fehler behoben, bei dem die Checkbox zum Erstellen weiterer Vorgänge nicht angekreuzt bleibt.</li>
 </ul>
--- a/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sun Oct 06 18:25:16 2024 +0200
+++ b/src/main/webapp/WEB-INF/changelogs/changelog.jspf	Sat Nov 09 09:16:41 2024 +0100
@@ -29,6 +29,7 @@
 <ul>
     <li>Add component tag to issue list when no component filter is active.</li>
     <li>Add issue status to the suggestions for creating an issue relation.</li>
+    <li>Add project names to the entries of the global RSS feed.</li>
     <li>Improve position of buttons for creating new versions or components.</li>
     <li>Fix critical issue where saving an issue from the global list erases all data for that issue.</li>
     <li>Fix missing localization for issue status and category in RSS feed.</li>
--- a/src/main/webapp/WEB-INF/jsp/issues-feed.jsp	Sun Oct 06 18:25:16 2024 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issues-feed.jsp	Sat Nov 09 09:16:41 2024 +0100
@@ -49,11 +49,11 @@
                 <c:when test="${not empty entry.issue}">
                     <c:set var="issue" value="${entry.issue}"/>
                     <c:set var="link" value="${issueHref}${issue.id}"/>
-                    <title>[<fmt:message key="feed.issues.type.${entry.type}"/>] #${issue.id} - <c:out value="${issue.currentSubject}"/></title>
+                    <title>[<fmt:message key="feed.issues.type.${entry.type}"/>] #${issue.id} - <c:if test="${empty viewmodel.project}"><c:out value="${issue.project}" /> - </c:if><c:out value="${issue.currentSubject}"/></title>
                     <description><![CDATA[
                         <h1>#${issue.id} - ${issue.subject}</h1>
                         <c:if test="${empty viewmodel.project}">
-                        <div><b><fmt:message key="project"/></b>: ${issue.project}</div>
+                        <div><b><fmt:message key="project"/></b>: <c:out value="${issue.project}" /></div>
                         </c:if>
                         <div><b><fmt:message key="component"/></b>: ${issue.component}</div>
                         <div><b><fmt:message key="issue.category"/></b>: ${issue.category}</div>

mercurial