make comments viewlet show the plone.app.discussion comments and allow to add new comments. (redirection after add-comment is not working yet)
svn path=/plone.app.discussion/trunk/; revision=27112
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
xmlns="http://namespaces.zope.org/zope"
|
||||
xmlns:browser="http://namespaces.zope.org/browser"
|
||||
i18n_domain="plone.app.discussion">
|
||||
|
||||
|
||||
<!-- Traversal adapter -->
|
||||
<adapter factory=".traversal.ConversationNamespace" name="conversation" />
|
||||
|
||||
@@ -18,4 +18,13 @@
|
||||
permission="zope2.View"
|
||||
/>
|
||||
|
||||
<!-- add-comment view -->
|
||||
<browser:view
|
||||
name="add-comment"
|
||||
for="plone.app.discussion.interfaces.IConversation"
|
||||
layer="..interfaces.IDiscussionLayer"
|
||||
class=".comments.AddComment"
|
||||
permission="zope2.View"
|
||||
/>
|
||||
|
||||
</configure>
|
||||
|
||||
Reference in New Issue
Block a user