From e2192e59737e8b201d6c21e87fdaea58476d3675 Mon Sep 17 00:00:00 2001 From: vangheem Date: Sat, 30 May 2015 15:20:32 -0500 Subject: [PATCH] use modal pattern for comment edit --- plone/app/discussion/browser/comments.pt | 36 +++++++++++++++--------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/plone/app/discussion/browser/comments.pt b/plone/app/discussion/browser/comments.pt index 8e69b15..03c3a79 100644 --- a/plone/app/discussion/browser/comments.pt +++ b/plone/app/discussion/browser/comments.pt @@ -9,7 +9,8 @@ has_replies python:view.has_replies(canReview); showCommenterImage view/show_commenter_image; errors options/state/getErrors|nothing; - wtool context/@@plone_tools/workflow;" + wtool context/@@plone_tools/workflow; + auth_token context/@@authenticator/token|nothing" tal:condition="python:isDiscussionAllowed or has_replies" i18n:domain="plone"> @@ -115,19 +116,26 @@ /> -
- -
+ + + Edit +
+ +
+