show post-comment form when user is logged in or user is not logged in and anonymous comments are allowed.
svn path=/plone.app.discussion/trunk/; revision=28817
This commit is contained in:
parent
2a1ae7dc62
commit
dff06b8c8c
@ -9,7 +9,7 @@
|
||||
wtool context/@@plone_tools/workflow"
|
||||
tal:condition="isDiscussionAllowed"
|
||||
i18n:domain="plone">
|
||||
|
||||
<h1 tal:content="isAnonymousDiscussionAllowed" />
|
||||
<div class="reply"
|
||||
tal:condition="python:isAnon and not isAnonymousDiscussionAllowed">
|
||||
<form tal:attributes="action view/login_action">
|
||||
@ -142,7 +142,7 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="commenting" class="reply">
|
||||
<div id="commenting" class="reply" tal:condition="python: isAnon and isAnonymousDiscussionAllowed or not isAnon">
|
||||
|
||||
<fieldset>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user