From 2e004456f52e9e5833853b2afaee5e0b98a3f723 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Sat, 19 Dec 2009 14:04:49 +0000 Subject: [PATCH] Bugfix for #2010078: Comments that await moderation are visually distinguished from published comments. svn path=/plone.app.discussion/trunk/; revision=32537 --- plone/app/discussion/browser/comments.pt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index 5d52962..0dcabc7 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -34,11 +34,11 @@ 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); + review_state python:wtool.getInfoFor(reply, 'review_state');" + tal:attributes="class python:'comment replyTreeLevel'+str(depth)+' state-'+str(review_state); style string:margin-left: ${depth}em; id string:${reply/getId}" - tal:condition="python:canManage or published"> + tal:condition="python:canManage or review_state == 'published'">