From 22a4916afab5d3652e6400106a5706889a7d5d24 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 8 Jun 2009 07:28:59 +0000 Subject: [PATCH] fix comments view. call getPersonalPortrait in the template again. svn path=/plone.app.discussion/trunk/; revision=27351 --- plone/app/discussion/browser/comments.pt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index b079652..3919524 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -26,16 +26,16 @@ tal:define="reply reply_dict/comment; depth reply_dict/depth|python:0; creator reply/Creator; - commenter_home_url python:view.get_commenter_home_url(reply.author_username); - portrait python:view.get_commenter_portrait(reply.author_username); + author_home_url string:${context/portal_url}/author/${reply/author_username}; + portrait python:here.portal_membership.getPersonalPortrait(reply.author_username); anonymous_creator python:creator in ('Anonymous User', '');" tal:attributes="class python:'comment replyTreeLevel'+str(depth); style string:margin-left: ${depth}em; id string:comment-${reply/id}"> -
- + @@ -60,11 +60,11 @@