Do not show two "login to add comments" buttons when there are no comments yet. This fixes http://plone.org/products/plone.app.discussion/issues/12.

svn path=/plone.app.discussion/trunk/; revision=40515
This commit is contained in:
Timo Stollenwerk 2010-10-05 12:07:08 +00:00
parent 7bdf340c88
commit 837e6b2966
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,9 @@ Changelog
1.0b9 (unreleased)
------------------
- Nothing changed yet.
- Do not show two "login to add comments" buttons when there are no comments
yet. This fixes http://plone.org/products/plone.app.discussion/issues/12.
[timo]
1.0b8 (2010-10-04)

View File

@ -129,7 +129,7 @@
</div>
<div class="reply"
tal:condition="python:isDiscussionAllowed and (isAnon and not isAnonymousDiscussionAllowed)">
tal:condition="python:has_replies and (isAnon and not isAnonymousDiscussionAllowed)">
<form tal:attributes="action view/login_action">
<input class="standalone"
style="margin-bottom: 1.25em;"