Commit b115277b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

remove unused TAL expressions.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23861 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 21ccacc6
...@@ -274,8 +274,7 @@ div.listbox_dataline:hover {\n ...@@ -274,8 +274,7 @@ div.listbox_dataline:hover {\n
}\n }\n
//--></script>\n //--></script>\n
<span class="toggle" onclick="toggle_all()">Toggle all</span>\n <span class="toggle" onclick="toggle_all()">Toggle all</span>\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="dummy python: request.set(\'here\',here)">\n
dummy python: request.set(\'here\',here)">\n
<div class="frame">\n <div class="frame">\n
<div class="frame_title">General information</div>\n <div class="frame_title">General information</div>\n
<table>\n <table>\n
......
...@@ -48,8 +48,7 @@ ...@@ -48,8 +48,7 @@
dummy python: request.set(\'editable_mode\', editable_mode)">\n dummy python: request.set(\'editable_mode\', editable_mode)">\n
<tal:block metal:use-macro="here/dialog_main/macros/master">\n <tal:block metal:use-macro="here/dialog_main/macros/master">\n
<tal:block metal:fill-slot="main">\n <tal:block metal:fill-slot="main">\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="dummy python: request.set(\'here\', here);\n
dummy python: request.set(\'here\', here);\n
dialog_actions python: here.Base_fixDialogActions(actions, dialog_category);\n dialog_actions python: here.Base_fixDialogActions(actions, dialog_category);\n
current_action python: here.ERP5Site_getCurrentDialogAction(current_url, dialog_actions);\n current_action python: here.ERP5Site_getCurrentDialogAction(current_url, dialog_actions);\n
field_render here/field_render/macros/field_render;">\n field_render here/field_render/macros/field_render;">\n
...@@ -87,8 +86,7 @@ ...@@ -87,8 +86,7 @@
\n \n
<tal:block metal:define-macro="content">\n <tal:block metal:define-macro="content">\n
<div class="content"\n <div class="content"\n
tal:define="group_list form/Form_getGroupTitleAndId;\n tal:define="group_list form/Form_getGroupTitleAndId">\n
gid_list python: \' \'.join([x[\'gid\'] for x in group_list if x not in (\'bottom\', \'hidden\')]);">\n
<tal:block tal:repeat="group group_list">\n <tal:block tal:repeat="group group_list">\n
<tal:block tal:define="gid group/gid">\n <tal:block tal:define="gid group/gid">\n
<fieldset tal:condition="python: \'hidden\' not in gid and \'bottom\' not in gid"\n <fieldset tal:condition="python: \'hidden\' not in gid and \'bottom\' not in gid"\n
...@@ -111,8 +109,7 @@ ...@@ -111,8 +109,7 @@
\n \n
<tal:block metal:define-macro="bottom">\n <tal:block metal:define-macro="bottom">\n
<tal:block metal:fill-slot="bottom">\n <tal:block metal:fill-slot="bottom">\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="dummy python: request.set(\'here\', here);\n
dummy python: request.set(\'here\', here);\n
bottom_group python: form.get_fields_in_group(\'bottom\')">\n bottom_group python: form.get_fields_in_group(\'bottom\')">\n
<div tal:condition="python: len(bottom_group) > 0"\n <div tal:condition="python: len(bottom_group) > 0"\n
class="bottom">\n class="bottom">\n
......
...@@ -69,10 +69,8 @@ It is possible to specify a group id and a group title by naming a group followi ...@@ -69,10 +69,8 @@ It is possible to specify a group id and a group title by naming a group followi
\n \n
<tal:block metal:define-macro="master">\n <tal:block metal:define-macro="master">\n
<tal:block\n <tal:block\n
tal:define="field_errors python: request.get(\'field_errors\', {});\n tal:define="dummy python: request.set(\'here\', here);\n
dummy python: request.set(\'here\', here);\n
group_list form/Form_getGroupTitleAndId;\n group_list form/Form_getGroupTitleAndId;\n
gid_list python: \' \'.join([x[\'gid\'] for x in group_list if x!=\'hidden\']);\n
field_render nocall: here/field_render/macros/field_render">\n field_render nocall: here/field_render/macros/field_render">\n
<tal:block tal:condition="preferred_html_style_developper_mode">\n <tal:block tal:condition="preferred_html_style_developper_mode">\n
<tal:block metal:use-macro="developper_shortcut_render/macros/form" />\n <tal:block metal:use-macro="developper_shortcut_render/macros/form" />\n
......
...@@ -49,8 +49,7 @@ ...@@ -49,8 +49,7 @@
\'saved_form_data\': dict(request[\'saved_form_data\'])});">\n \'saved_form_data\': dict(request[\'saved_form_data\'])});">\n
<tal:block metal:use-macro="here/dialog_main/macros/master">\n <tal:block metal:use-macro="here/dialog_main/macros/master">\n
<tal:block metal:fill-slot="main">\n <tal:block metal:fill-slot="main">\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="dummy python: request.set(\'here\', here);\n
dummy python: request.set(\'here\', here);\n
proxy_listbox_id python: context.Base_getRelationFieldProxyListBoxId();\n proxy_listbox_id python: context.Base_getRelationFieldProxyListBoxId();\n
field_render here/field_render/macros/field_render;">\n field_render here/field_render/macros/field_render;">\n
\n \n
...@@ -89,8 +88,7 @@ ...@@ -89,8 +88,7 @@
</tal:block>\n </tal:block>\n
\n \n
<tal:block metal:fill-slot="bottom">\n <tal:block metal:fill-slot="bottom">\n
<tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n <tal:block tal:define="dummy python: request.set(\'here\', here);\n
dummy python: request.set(\'here\', here);\n
bottom_group python: form.get_fields_in_group(\'bottom\')">\n bottom_group python: form.get_fields_in_group(\'bottom\')">\n
<div tal:condition="python: len(bottom_group) > 0"\n <div tal:condition="python: len(bottom_group) > 0"\n
class="bottom">\n class="bottom">\n
......
618 619
\ 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