Commit 9f3e21ea authored by Ivan Tyagov's avatar Ivan Tyagov

Remove hard coding worklfow_id and show all tasks for currrent logged in user.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35161 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent edbc7008
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<!--[if lte IE 6]></td></tr></table></a><![endif]--></li>\n <!--[if lte IE 6]></td></tr></table></a><![endif]--></li>\n
\n \n
<tal:block tal:define="actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n <tal:block tal:define="actions python: here.getPortalObject().portal_actions.listFilteredActionsFor(here);\n
ordered_global_actions python: [x for x in getattr(here, \'portal_workflow\').listActionInfos() if x[\'workflow_id\'] == \'document_publication_workflow\'];\n ordered_global_actions python: [x for x in getattr(here, \'portal_workflow\').listActionInfos()];\n
absolute_url context/absolute_url;\n absolute_url context/absolute_url;\n
count python: reduce(lambda x, y: x+(y.has_key(\'count\') and y[\'count\'] or 0), ordered_global_actions, 0);\n count python: reduce(lambda x, y: x+(y.has_key(\'count\') and y[\'count\'] or 0), ordered_global_actions, 0);\n
portal_url python: context.portal_url();">\n portal_url python: context.portal_url();">\n
......
1373 1374
\ No newline at end of file \ 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