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

changeset 425
adaf9cf8b97e
parent 374
34abadbdd0e3
equal deleted inserted replaced
424:0343792a6175 425:adaf9cf8b97e
47 <item> 47 <item>
48 <c:choose> 48 <c:choose>
49 <c:when test="${not empty entry.issue}"> 49 <c:when test="${not empty entry.issue}">
50 <c:set var="issue" value="${entry.issue}"/> 50 <c:set var="issue" value="${entry.issue}"/>
51 <c:set var="link" value="${issueHref}${issue.id}"/> 51 <c:set var="link" value="${issueHref}${issue.id}"/>
52 <c:set var="fragment" value=""/>
52 <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> 53 <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>
53 <description><![CDATA[ 54 <description><![CDATA[
54 <h1>#${issue.id} - ${issue.subject}</h1> 55 <h1>#${issue.id} - ${issue.subject}</h1>
55 <c:if test="${empty viewmodel.project}"> 56 <c:if test="${empty viewmodel.project}">
56 <div><b><fmt:message key="project"/></b>: <c:out value="${issue.project}" /></div> 57 <div><b><fmt:message key="project"/></b>: <c:out value="${issue.project}" /></div>
68 <category>${issue.currentCategory}</category> 69 <category>${issue.currentCategory}</category>
69 </c:when> 70 </c:when>
70 <c:when test="${not empty entry.comment}"> 71 <c:when test="${not empty entry.comment}">
71 <c:set var="comment" value="${entry.comment}"/> 72 <c:set var="comment" value="${entry.comment}"/>
72 <c:set var="link" value="${issueHref}${comment.issueid}"/> 73 <c:set var="link" value="${issueHref}${comment.issueid}"/>
74 <c:set var="fragment" value="#comment-${comment.id}"/>
73 <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> 75 <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>
74 <description><![CDATA[ 76 <description><![CDATA[
75 <div style="white-space: pre-wrap;">${comment.comment}</div> 77 <div style="white-space: pre-wrap;">${comment.comment}</div>
76 ]]></description> 78 ]]></description>
77 <category><fmt:message key="feed.issues.type.${entry.type}"/></category> 79 <category><fmt:message key="feed.issues.type.${entry.type}"/></category>
78 </c:when> 80 </c:when>
79 </c:choose> 81 </c:choose>
80 <link>${link}?source=rss</link> 82 <link>${link}?source=rss${fragment}</link>
81 <guid isPermaLink="true">${link}</guid> 83 <guid isPermaLink="true">${link}${fragment}</guid>
82 <pubDate><fmt:formatDate value="${entry.time}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz"/></pubDate> 84 <pubDate><fmt:formatDate value="${entry.time}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz"/></pubDate>
83 <c:if test="${not empty entry.author}"> 85 <c:if test="${not empty entry.author}">
84 <author><c:out value="${entry.author.displayname}"/> </author> 86 <author><c:out value="${entry.author.displayname}"/> </author>
85 </c:if> 87 </c:if>
86 </item> 88 </item>

mercurial