appy.pod: bugfix while including a PDF file into a document; ease the inclusion of Plone images from a Plone/Zope DB through 'do text from document' statements; appy.gen: added obj.mayAct method that allows to display conditionnally the column 'Actions' when an object is shown in a list (query or ref); improved navigation from sub-objects to parent objects; improved layout.

This commit is contained in:
Gaetan Delannay 2012-02-23 15:58:06 +01:00
parent 9c5f92337b
commit 13f3400577
9 changed files with 90 additions and 62 deletions

View file

@ -210,7 +210,9 @@
</td>
<tal:comment replace="nothing">Actions</tal:comment>
<td align="right">
<metal:showObjectActions use-macro="app/ui/widgets/ref/macros/objectActions" />
<tal:show condition="obj/mayAct">
<metal:showObjectActions use-macro="app/ui/widgets/ref/macros/objectActions" />
</tal:show>
</td>
</tr>
</tal:row>