Commit a258d601 authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Fix params for Refresh button

Fix domain_url param for method unfoldDomain, that now receives string like "domain_url.domain_depth"
parent 2f0346ca
......@@ -41,13 +41,14 @@
portal_path python:website.absolute_url();\n
current_url here/absolute_url;\n
has_editor python: current_url != portal_path;\n
domain_url python: context.REQUEST.form.get(\'domain_url\') or \'ung_domain/all_document_list\';">\n
domain_url python: context.REQUEST.form.get(\'domain_url\') or \'ung_domain/all_documents\';">\n
<a class="domain_selected"></a>\n
<div tal:content="request/portal_status_message | nothing" class="portal_status_message"/>\n
<tal:block tal:condition="python: not has_editor">\n
<a i18n:translate="" i18n:domain="ui" tal:attributes="href python: request.get(\'URL\') + \'?domain_url=%s&\' % domain_url + \n
<a i18n:translate="" i18n:domain="ui" tal:attributes="href python: request.get(\'URL\') + \'?unfoldDomain=%s.0&\' % domain_url + \n
\'form_id=erp5_web_ung_layout&\' + \n
\'list_selection_name=ung_document_list_selection&\' + \n
\'domain_depth:int=0&reset:int=1\'">Refresh</a>\n
\'reset:int=1\'">Refresh</a>\n
</tal:block>\n
<tal:block tal:condition="python: has_editor">\n
<a tal:attributes="href python: request.get(\'URL\') + \'?editable_mode:int=1\'"\n
......
2011-07-01 gabriel.oliveira
* Fix params for Refresh button
2011-07-01 gabriel.oliveira
* Add method to return document list and javascript needed for listbox
......
380
\ No newline at end of file
381
\ 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