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

changeset 235
4258b9e010ae
parent 199
59393c8cc557
child 237
84e42725bf8e
equal deleted inserted replaced
234:d71bc6db42ef 235:4258b9e010ae
32 <link>${baseHref}projects/${viewmodel.project.node}</link> 32 <link>${baseHref}projects/${viewmodel.project.node}</link>
33 <language>${pageContext.response.locale.language}</language> 33 <language>${pageContext.response.locale.language}</language>
34 <pubDate><fmt:formatDate value="${viewmodel.lastModified}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></pubDate> 34 <pubDate><fmt:formatDate value="${viewmodel.lastModified}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></pubDate>
35 <lastBuildDate><fmt:formatDate value="${viewmodel.lastModified}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></lastBuildDate> 35 <lastBuildDate><fmt:formatDate value="${viewmodel.lastModified}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></lastBuildDate>
36 36
37 <c:forEach items="${viewmodel.issues}" var="issue"> 37 <c:forEach items="${viewmodel.entries}" var="entry">
38 <c:set var="issue" value="${entry.issue}"/>
38 <item> 39 <item>
39 <title><c:if test="${not empty issue.component}"><c:out value="${issue.component.name}"/> - </c:if><c:out value="${issue.subject}"/></title> 40 <title>[<fmt:message key="feed.issues.type.${entry.type}"/>] #${issue.id} - <c:out value="${issue.currentSubject}"/></title>
40 <description><c:choose> 41 <description><![CDATA[
41 <c:when test="${issue.created eq issue.updated}"> 42 <h1>#${issue.id} - <c:out value="${issue.subject}"/></h1>
42 <fmt:message key="feed.issues.created"/> 43 <div><b><fmt:message key="component"/></b>: ${issue.component}</div>
43 </c:when> 44 <div><b><fmt:message key="issue.category"/></b>: ${issue.category}</div>
44 <c:otherwise> 45 <div><b><fmt:message key="issue.status"/></b>: ${issue.status}</div>
45 <fmt:message key="feed.issues.updated"/> 46 <div><b><fmt:message key="issue.resolved-versions"/></b>: ${issue.resolved}</div>
46 </c:otherwise> 47 <div><b><fmt:message key="issue.affected-versions"/></b>: ${issue.affected}</div>
47 </c:choose></description> 48 <div><b><fmt:message key="issue.assignee"/></b>: ${issue.assignee}</div>
49 <div><b><fmt:message key="issue.eta"/></b>: ${issue.eta}</div>
50 <h2><fmt:message key="issue.description"/></h2>
51 ${issue.description}
52 ]]></description>
48 <category><fmt:message key="issue.category.${issue.category}"/></category> 53 <category><fmt:message key="issue.category.${issue.category}"/></category>
49 <link>${baseHref}projects/${issue.project.node}/issues/-/${empty issue.component ? '-' : issue.component.node}/${issue.id}</link> 54 <c:set var="link" value="${baseHref}projects/${viewmodel.project.node}/issues/-/-/${issue.id}"/>
50 <guid isPermaLink="true">${baseHref}projects/${issue.project.node}/issues/-/-/${issue.id}</guid> 55 <link>${link}</link>
51 <pubDate><fmt:formatDate value="${issue.updated}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></pubDate> 56 <guid isPermaLink="true">${link}</guid>
57 <pubDate><fmt:formatDate value="${entry.time}" pattern="EEE, dd MMM yyyy HH:mm:ss zzz" /></pubDate>
52 </item> 58 </item>
53 </c:forEach> 59 </c:forEach>
54 </channel> 60 </channel>

mercurial