Commit 954ed05b authored by 's avatar

- content_url is deprecated

parent cd29c843
...@@ -2,16 +2,16 @@ ...@@ -2,16 +2,16 @@
Names and URLs for the actions box can be formatted using standard Python Names and URLs for the actions box can be formatted using standard Python
string formatting. An example:: string formatting. An example::
%(content_url)s/content_submit_form %(object_url)s/content_submit_form
The string '%(content_url)s' will be replaced by the value of content_url. The string '%(object_url)s' will be replaced by the value of object_url.
The following names are available: The following names are available:
- portal_url - portal_url
- folder_url - folder_url
- content_url - object_url
- user_id - user_id
...@@ -25,6 +25,6 @@ They are not strings. ...@@ -25,6 +25,6 @@ They are not strings.
- folder - folder
- content - object
- isAnonymous - isAnonymous
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
title="Member makes content private" title="Member makes content private"
new_state="private" trigger="USER" new_state="private" trigger="USER"
before_script="" after_script=""> before_script="" after_script="">
<action url="%(content_url)s/content_hide_form" <action url="%(object_url)s/content_hide_form"
icon="%(portal_url)s/retract_icon.png" icon="%(portal_url)s/retract_icon.png"
category="workflow">Make private</action> category="workflow">Make private</action>
<guard> <guard>
...@@ -145,7 +145,7 @@ ...@@ -145,7 +145,7 @@
title="Member makes content visible" title="Member makes content visible"
new_state="visible" trigger="USER" new_state="visible" trigger="USER"
before_script="" after_script=""> before_script="" after_script="">
<action url="%(content_url)s/content_show_form" <action url="%(object_url)s/content_show_form"
icon="%(portal_url)s/approve_icon.png" icon="%(portal_url)s/approve_icon.png"
category="workflow">Make visible</action> category="workflow">Make visible</action>
<guard> <guard>
......
...@@ -9,16 +9,16 @@ link to. ...@@ -9,16 +9,16 @@ link to.
Names and URLs for the actions box can be formatted using standard Python Names and URLs for the actions box can be formatted using standard Python
string formatting. An example:: string formatting. An example::
%(content_url)s/content_submit_form %(object_url)s/content_submit_form
The string '%(content_url)s' will be replaced by the value of content_url. The string '%(object_url)s' will be replaced by the value of object_url.
The following names are available: The following names are available:
* portal_url * portal_url
* folder_url * folder_url
* content_url * object_url
* count (Available in work lists only. Represents the number of items in the * count (Available in work lists only. Represents the number of items in the
work list.) work list.)
...@@ -30,7 +30,7 @@ They are not strings. ...@@ -30,7 +30,7 @@ They are not strings.
* folder * folder
* content * object
* isAnonymous * isAnonymous
......
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