From 7083856268c4166321564ab15bbb600cb885c27f Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Fri, 29 May 2009 07:12:20 +0000 Subject: [PATCH] fetch user image with getPersonalPortrait(). svn path=/plone.app.discussion/trunk/; revision=27206 --- plone/app/discussion/browser/comments.pt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index b856ad8..095a7c8 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -26,6 +26,7 @@ depth reply_dict/depth|python:0; creator reply/Creator; 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; @@ -34,9 +35,12 @@
- +