do not show the publish bulk action when showing only published comments.

svn path=/plone.app.discussion/trunk/; revision=27724
This commit is contained in:
Timo Stollenwerk 2009-06-29 13:54:51 +00:00
parent 6057ad0e91
commit 4a934a2967

View File

@ -54,7 +54,9 @@
<select name="form.select.BulkAction"> <select name="form.select.BulkAction">
<option selected="selected" value="-1" i18n:translate="title_bulkactions">Bulk Actions</option> <option selected="selected" value="-1" i18n:translate="title_bulkactions">Bulk Actions</option>
<!--<option value="retract" i18n:translate="bulkactions_retract">Retract</option>--> <!--<option value="retract" i18n:translate="bulkactions_retract">Retract</option>-->
<option value="publish" i18n:translate="bulkactions_publish">Publish</option> <option value="publish"
i18n:translate="bulkactions_publish"
tal:condition="python: filter != 'published'">Publish</option>
<!--<option value="mark_as_spam" i18n:translate="bulkactions_markasspam">Mark as Spam</option>--> <!--<option value="mark_as_spam" i18n:translate="bulkactions_markasspam">Mark as Spam</option>-->
<option value="delete" i18n:translate="bulkactions_delete">Delete</option> <option value="delete" i18n:translate="bulkactions_delete">Delete</option>
</select> </select>