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'">