Commit 781eb09b authored by Jérome Perrin's avatar Jérome Perrin

Add a new action category, object_add that pops up in Action menu at the same

level that allowed content types. (handy to conditionnaly show the add action
for a given type or to call a custom script to add the content).



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10745 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94a610a1
......@@ -130,6 +130,12 @@ XXX: Folder_filter accesses selection directly\n
i18n:name="portal_type"/>\n
</option>\n
</tal:block>\n
</tal:block>\n
<tal:block tal:repeat="action actions/object_add | nothing">\n
<option tal:attributes="value string:object ${action/url}"\n
i18n:translate="" i18n:domain="ui">\n
Add <tal:block tal:content="action/name" i18n:name="portal_type" i18n:translate=""/>\n
</option>\n
</tal:block>\n
<tal:block tal:define="document_template_list here/getDocumentTemplateList | nothing"\n
tal:condition="document_template_list">\n
......
265
\ No newline at end of file
266
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment