diff --git a/news/286.feature b/news/286.feature new file mode 100644 index 00000000..ca0f2de3 --- /dev/null +++ b/news/286.feature @@ -0,0 +1 @@ +Implement Soft Deletion [rohnsha0] \ No newline at end of file diff --git a/src/plone/app/discussion/browser/comments.pt b/src/plone/app/discussion/browser/comments.pt index f3ed08ae..cf52d3f4 100644 --- a/src/plone/app/discussion/browser/comments.pt +++ b/src/plone/app/discussion/browser/comments.pt @@ -50,6 +50,7 @@ canEdit python:view.can_edit(reply); canDelete python:view.can_delete(reply); colorclass python:lambda x: 'state-private' if x=='rejected' else ('state-internal' if x=='spam' else 'state-'+x); + is_deleted reply/is_deleted; " tal:condition="python:canReview or review_state == 'published'" tal:attributes=" @@ -58,7 +59,9 @@ " > -