Commit e0fd82e3 authored by Gabriel Monnerat's avatar Gabriel Monnerat

refactor code to the refresh link, refresh the page to current domain url

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41390 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4434396
......@@ -40,10 +40,11 @@
<tal:block tal:define="website here/getWebSiteValue;\n
portal_path python:website.absolute_url();\n
current_url here/absolute_url;\n
has_editor python: current_url != portal_path;">\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
<a class="domain_selected"></a>\n
<tal:block tal:condition="python: not has_editor">\n
<a tal:attributes="href python: request.get(\'URL\') + \'?domain_url=ung_domain/all_document_list&\' + \n
<a tal:attributes="href python: request.get(\'URL\') + \'?domain_url=%s&\' % 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
......
118
\ No newline at end of file
119
\ 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