pvollenweider 2005/04/12 11:22:12 CEST
Modified files: (Branch: JAHIA-4-1-BRANCH)
src/view/jsp blog_listing.jsp
Log:
Add link to blog page on blog entries
Revision Changes Path
1.1.2.12 +5 -3 corporate_portal_templates/src/view/jsp/blog_listing.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/blog_listing.jsp.diff?r1=1.1.2.11&r2=1.1.2.12&f=h
Index: blog_listing.jsp
===================================================================
RCS file:
/home/cvs/repository/corporate_portal_templates/src/view/jsp/Attic/blog_listing.jsp,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -u -r1.1.2.11 -r1.1.2.12
--- blog_listing.jsp 12 Apr 2005 09:14:47 -0000 1.1.2.11
+++ blog_listing.jsp 12 Apr 2005 09:22:12 -0000 1.1.2.12
@@ -129,7 +129,7 @@
ContainerBean entryBean = new
ContainerBean(entry,jParams);
int blogPageId = entryBean.getPageID();
String blogPageUrl = jParams.composePageUrl(blogPageId);
-
+ String blogPageTitle =
ContentPage.getPage(blogPageId).getTitle(jParams);
String title = entry.getFieldValue("title","");
String body = entry.getFieldValue("body","");
String author = entry.getFieldValue("author","");
@@ -154,10 +154,11 @@
sdf.applyPattern("kk:mm");
String kkmm = sdf.format( new Date(dateLong) );
-
%>
- <dt><a
href="<%=blogPageUrl%>?entryId=<%=entry.getID()%>"><%=title%></a></dt>
+ <dt>
+ <a
href="<%=blogPageUrl%>?entryId=<%=entry.getID()%>"><%=title%></a>
+ </dt>
<dd class="summary">
<%=excerpt%>
<a
href="<%=blogPageUrl%>?entryId=<%=entry.getID()%>"
class="continued">Continued</a>
@@ -197,6 +198,7 @@
}
%>
+ | <a
href="<%=blogPageUrl%>?entryId=-1"><%=blogPageTitle%></a>
<a
href="<%=blogPageUrl%>?entryId=<%=entry.getID()%>#comments"
class="commentlink"><%=commentsCount%>
comments</a>
</dd>