Commit f30a808a authored by Fabien Morin's avatar Fabien Morin

hide "save draft and continue later" button and "Next step" buttons if user...

hide "save draft and continue later" button and "Next step" buttons if user don't have Modify content permission.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 478e5679
...@@ -46,7 +46,8 @@ ...@@ -46,7 +46,8 @@
portal here/getPortalObject;\n portal here/getPortalObject;\n
form_action python: form and form.action not in (\'\', None) and portal.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n form_action python: form and form.action not in (\'\', None) and portal.portal_membership.checkPermission(\'Modify portal content\', here) and form.action or nothing;\n
local_parameter_list local_parameter_list | python: {};\n local_parameter_list local_parameter_list | python: {};\n
">\n "\n
tal:condition="python: portal.portal_membership.checkPermission(\'Modify portal content\', here)">\n
\n \n
<input type="hidden" name="form_action" value=""\n <input type="hidden" name="form_action" value=""\n
tal:attributes="value request/form_action" />\n tal:attributes="value request/form_action" />\n
......
2008-11-03 fabien 2008-11-03 fabien
* add an interaction to raise an error on subscription submission if an account already exists * add an interaction to raise an error on subscription submission if an account already exists
* add a default parameter to NOT be in editable mode * add a default parameter to NOT be in editable mode
* hide "save draft and continue later" button and "Next step" buttons if user don't have Modify content permission.
2008-11-01 fabien 2008-11-01 fabien
* fix some problem in the send of credentials. Now it works, even with yahoo ! (not considered as spam) * fix some problem in the send of credentials. Now it works, even with yahoo ! (not considered as spam)
......
436 439
\ 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