From 5f9e443b9ce6cea200d6a882f38556e12ea52c98 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 19 Dec 2009 13:35:49 +0000 Subject: [PATCH] fix bug #2010181: The name of a commenter who commented while not logged in should not appear as a link. svn path=/plone.app.discussion/trunk/; revision=32535 --- plone/app/discussion/browser/comments.pt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index d573ed7..54256dd 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -32,6 +32,7 @@ tal:define="reply reply_dict/comment; depth reply_dict/depth|python:0; author_home_url python:view.get_commenter_home_url(username=reply.author_username); + has_author_link python:author_home_url and not isAnon; portrait_url python:view.get_commenter_portrait(reply.author_username); published python:wtool.getInfoFor(reply, 'review_state') == 'published';" tal:attributes="class python:'comment replyTreeLevel'+str(depth); @@ -40,8 +41,7 @@ tal:condition="python:canManage or published">
- -
@@ -69,12 +69,12 @@ Posted by Poster Name -