[Erp5-report] r37328 ivan - in /erp5/trunk/bt5/erp5_km: SkinTemplateItem/portal_skins/erp5_...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 28 13:43:38 CEST 2010


Author: ivan
Date: Wed Jul 28 13:43:36 2010
New Revision: 37328

URL: http://svn.erp5.org?rev=37328&view=rev
Log:
Clean up.

Modified:
    erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
    erp5/trunk/bt5/erp5_km/bt/revision

Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml?rev=37328&r1=37327&r2=37328&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml [utf8] Wed Jul 28 13:43:36 2010
@@ -307,9 +307,9 @@
           </thead>\n
 \n
           <tbody>\n
-            <!-- Fill datas-->\n
+            <!-- Render listbox data-->\n
             <tal:block tal:condition="line_list"\n
-                        tal:define="checked_uid_set here/getCheckedUidSet">\n
+                       tal:define="checked_uid_set here/getCheckedUidSet">\n
             <tr tal:repeat="line line_list"              \n
                 tal:attributes="\n
                 id string:${field_id}_data_line_${repeat/line/index};\n
@@ -329,19 +329,19 @@
                   </td>\n
 \n
                   <!--Anchor column -->\n
-                  <td  tal:condition="python:show_anchor_column"\n
+                  <td tal:condition="python:show_anchor_column"\n
                       class="AnchorColumn" \n
                       style="text-align: center; vertical-align: middle;">\n
                     <!--Use [0][4] ? :(-->\n
-                    <a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n
+                    <a href="#" tal:attributes="href python:render_result[0][4]">\n
+                      <img src="document_icon.gif" alt="document" \n
+                           tal:attributes="src string:${portal_url_string}/images/line_clickable.png" />\n
+                    </a>\n
                   </td>\n
                               \n
                   <!--Select column -->\n
-                  <!--TODO Define the CSS class !-->\n
                   <td tal:condition="python: show_select_column"\n
-                      class="select_cell" style="text-align: center; vertical-align: middle"\n
-                      >\n
-                  \n
+                      class="select_cell" style="text-align: center; vertical-align: middle">\n
                     <input tal:condition="python: not line.isSummary()"\n
                           type="checkbox" id="listbox_cb_1" name="uids:list"\n
                           tal:attributes="checked python: line.getUid() in checked_uid_set;\n
@@ -350,22 +350,23 @@
                   </td>\n
                   \n
                   <tal:block tal:repeat="value render_result">\n
-                  <!--Define many var but use only ONE !-->\n
-                  <td tal:define="html               python: value[0];\n
-                                  original_value     python: value[1];\n
-                                  error              python: value[2];\n
-                                  editable_field     python: value[3];\n
-                                  editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
-                    <input  tal:condition="not: repeat/value/index"\n
-                            type="hidden" value="1" name="listbox_uid:list"\n
-                            tal:attributes="value python: line.getUid() or \'\';\n
-                                            name string:${field_id}_uid:list" />\n
-                    <tal:block tal:replace="structure html">value</tal:block>\n
-                  </td>\n
+                    <!--Define many var but use only ONE !-->\n
+                    <td tal:define="html               python: value[0];\n
+                                    original_value     python: value[1];\n
+                                    error              python: value[2];\n
+                                    editable_field     python: value[3];\n
+                                    editable_field_css python: editable_field != None and editable_field.get_value(\'css_class\')">\n
+                      <input tal:condition="not: repeat/value/index"\n
+                             type="hidden" value="1" name="listbox_uid:list"\n
+                             tal:attributes="value python: line.getUid() or \'\';\n
+                                             name string:${field_id}_uid:list" />\n
+                      <tal:block tal:replace="structure html"/>\n
+                    </td>\n
                   </tal:block>\n
-            </tal:block>\n
+              </tal:block>\n
             </tr>\n
             </tal:block>\n
+\n
             <!-- Hide row on no search criterion-->\n
             <tr tal:condition="hide_rows_on_no_search_criterion"\n
                 class="listbox_missing_search_criterion">\n
@@ -375,7 +376,8 @@
                 </span>\n
               </td>\n
             </tr>\n
-\n
+            \n
+            <!-- No results. -->\n
             <tr tal:condition="python: total_line == 0 and not hide_rows_on_no_search_criterion">\n
               <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1">\n
                 <span  class="listbox_no_result" i18n:translate="" i18n:domain="ui">\n

Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=37328&r1=37327&r2=37328&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Wed Jul 28 13:43:36 2010
@@ -1 +1 @@
-1496
\ No newline at end of file
+1497
\ No newline at end of file




More information about the Erp5-report mailing list