From 49cca0954f84a765c0a345d67440df0e1246020a Mon Sep 17 00:00:00 2001 From: helmutm Date: Mon, 20 Apr 2009 06:41:47 +0000 Subject: [PATCH] standardize blog view git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3341 fd906abe-77d9-0310-91a1-e0d9ade77398 --- compound/blog/browser.py | 7 +++---- compound/blog/view_macros.pt | 20 ++++++++------------ 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/compound/blog/browser.py b/compound/blog/browser.py index 285a8db..992acfd 100755 --- a/compound/blog/browser.py +++ b/compound/blog/browser.py @@ -141,10 +141,9 @@ class BlogPostView(ConceptView): data['privateComment'] = u'' return data - @Lazy - def description(self): - return self.renderText(self.context.description, 'text/restructured') - + #@Lazy + #def description(self): + # return self.renderText(self.context.description, 'text/restructured') def getActions(self, category='object', page=None, target=None): actions = [] diff --git a/compound/blog/view_macros.pt b/compound/blog/view_macros.pt index 49aac32..ee2d123 100755 --- a/compound/blog/view_macros.pt +++ b/compound/blog/view_macros.pt @@ -3,7 +3,7 @@
- +
@@ -31,8 +31,8 @@
- - + +
@@ -40,12 +40,7 @@
- -
- -

- Title -

+
2008-01-02 / @@ -57,7 +52,7 @@
Description
@@ -69,6 +64,7 @@

Private Comment

Comment
- - + + +