diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index c50950c..7c11b90 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -4,6 +4,7 @@ isAnon view/is_anonymous; canManage view/can_manage; replies python:view.get_replies(canManage); + has_replies python:view.has_replies(canManage); showCommenterImage view/show_commenter_image; errors options/state/getErrors|nothing; wtool context/@@plone_tools/workflow" @@ -132,7 +133,7 @@
+ tal:condition="python: isAnon and not isAnonymousDiscussionAllowed and has_replies">
0: if workflow_actions: return replies_with_workflow_actions() else: - return conversation.getThreads() + return published_replies() else: return None