src/main/webapp/WEB-INF/jsp/issues-feed.jsp

changeset 425
adaf9cf8b97e
parent 374
34abadbdd0e3
--- a/src/main/webapp/WEB-INF/jsp/issues-feed.jsp	Sun May 24 14:29:27 2026 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issues-feed.jsp	Tue Jun 09 16:24:15 2026 +0200
@@ -49,6 +49,7 @@
                 <c:when test="${not empty entry.issue}">
                     <c:set var="issue" value="${entry.issue}"/>
                     <c:set var="link" value="${issueHref}${issue.id}"/>
+                    <c:set var="fragment" value=""/>
                     <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>
@@ -70,6 +71,7 @@
                 <c:when test="${not empty entry.comment}">
                     <c:set var="comment" value="${entry.comment}"/>
                     <c:set var="link" value="${issueHref}${comment.issueid}"/>
+                    <c:set var="fragment" value="#comment-${comment.id}"/>
                     <title>[<fmt:message key="feed.issues.type.${entry.type}"/>] #${comment.issueid} - <c:if test="${empty viewmodel.project}"><c:out value="${comment.project}" /> - </c:if><c:out value="${comment.currentSubject}"/></title>
                     <description><![CDATA[
                         <div style="white-space: pre-wrap;">${comment.comment}</div>
@@ -77,8 +79,8 @@
                     <category><fmt:message key="feed.issues.type.${entry.type}"/></category>
                 </c:when>
             </c:choose>
-            <link>${link}?source=rss</link>
-            <guid isPermaLink="true">${link}</guid>
+            <link>${link}?source=rss${fragment}</link>
+            <guid isPermaLink="true">${link}${fragment}</guid>
             <pubDate><fmt:formatDate value="${entry.time}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz"/></pubDate>
             <c:if test="${not empty entry.author}">
             <author><c:out value="${entry.author.displayname}"/> </author>

mercurial