[Erp5-report] r23861 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Sep 27 13:07:17 CEST 2008


Author: kazuhiko
Date: Sat Sep 27 13:07:16 2008
New Revision: 23861

URL: http://svn.erp5.org?rev=23861&view=rev
Log:
remove unused TAL expressions.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/documentation_template.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_dialog.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/relation_form.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/documentation_template.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/documentation_template.xml?rev=23861&r1=23860&r2=23861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/documentation_template.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/documentation_template.xml Sat Sep 27 13:07:16 2008
@@ -274,8 +274,7 @@
         }\n
      //--></script>\n
       <span class="toggle" onclick="toggle_all()">Toggle all</span>\n
-      <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                             dummy python: request.set(\'here\',here)">\n
+      <tal:block tal:define="dummy python: request.set(\'here\',here)">\n
         <div class="frame">\n
           <div class="frame_title">General information</div>\n
           <table>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_dialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_dialog.xml?rev=23861&r1=23860&r2=23861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_dialog.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_dialog.xml Sat Sep 27 13:07:16 2008
@@ -48,8 +48,7 @@
              dummy python: request.set(\'editable_mode\', editable_mode)">\n
     <tal:block metal:use-macro="here/dialog_main/macros/master">\n
       <tal:block metal:fill-slot="main">\n
-        <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                   dummy python: request.set(\'here\', here);\n
+        <tal:block tal:define="dummy python: request.set(\'here\', here);\n
                    dialog_actions python: here.Base_fixDialogActions(actions, dialog_category);\n
                    current_action python: here.ERP5Site_getCurrentDialogAction(current_url, dialog_actions);\n
                    field_render here/field_render/macros/field_render;">\n
@@ -87,8 +86,7 @@
 \n
           <tal:block metal:define-macro="content">\n
             <div class="content"\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:define="group_list form/Form_getGroupTitleAndId">\n
               <tal:block tal:repeat="group group_list">\n
                 <tal:block tal:define="gid    group/gid">\n
                   <fieldset tal:condition="python: \'hidden\' not in gid and \'bottom\' not in gid"\n
@@ -111,8 +109,7 @@
 \n
      <tal:block metal:define-macro="bottom">\n
       <tal:block metal:fill-slot="bottom">\n
-        <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                   dummy python: request.set(\'here\', here);\n
+        <tal:block tal:define="dummy python: request.set(\'here\', here);\n
                    bottom_group python: form.get_fields_in_group(\'bottom\')">\n
           <div tal:condition="python: len(bottom_group) > 0"\n
             class="bottom">\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml?rev=23861&r1=23860&r2=23861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/form_render.xml Sat Sep 27 13:07:16 2008
@@ -69,10 +69,8 @@
 \n
   <tal:block metal:define-macro="master">\n
     <tal:block\n
-              tal:define="field_errors python: request.get(\'field_errors\', {});\n
-              dummy        python: request.set(\'here\', here);\n
+              tal:define="dummy        python: request.set(\'here\', here);\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
       <tal:block tal:condition="preferred_html_style_developper_mode">\n
         <tal:block metal:use-macro="developper_shortcut_render/macros/form" />\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/relation_form.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/relation_form.xml?rev=23861&r1=23860&r2=23861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/relation_form.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/relation_form.xml Sat Sep 27 13:07:16 2008
@@ -49,8 +49,7 @@
                                                                                                   \'saved_form_data\': dict(request[\'saved_form_data\'])});">\n
      <tal:block metal:use-macro="here/dialog_main/macros/master">\n
       <tal:block metal:fill-slot="main">\n
-        <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                   dummy python: request.set(\'here\', here);\n
+        <tal:block tal:define="dummy python: request.set(\'here\', here);\n
                    proxy_listbox_id python: context.Base_getRelationFieldProxyListBoxId();\n
                    field_render here/field_render/macros/field_render;">\n
 \n
@@ -89,8 +88,7 @@
       </tal:block>\n
 \n
       <tal:block metal:fill-slot="bottom">\n
-        <tal:block tal:define="field_errors python: request.get(\'field_errors\',{});\n
-                   dummy python: request.set(\'here\', here);\n
+        <tal:block tal:define="dummy python: request.set(\'here\', here);\n
                    bottom_group python: form.get_fields_in_group(\'bottom\')">\n
           <div tal:condition="python: len(bottom_group) > 0"\n
             class="bottom">\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=23861&r1=23860&r2=23861&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Sat Sep 27 13:07:16 2008
@@ -1,1 +1,1 @@
-618
+619




More information about the Erp5-report mailing list