From 1c34cf152701f8693a9bdc07dba879092fdb63ca Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Thu, 5 Jun 2008 09:51:42 +0000
Subject: [PATCH] 2008-06-05 Seb * Make the listbox title column aligned with
 column content when using trees

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21344 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_ods_style/listbox_ods_macro.xml       | 6 ++++++
 bt5/erp5_ods_style/bt/revision                              | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
index adc56121c4..d12d0832c5 100644
--- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
+++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/listbox_ods_macro.xml
@@ -78,6 +78,12 @@
                        tal:condition="listboxline/isTitleLine">\n
               <tal:block metal:define-slot="list_header">\n
                 <table:table-row table:style-name=\'ro4\'>\n
+                  <tal:block tal:repeat="empty_index python: xrange(0, max_section_depth)">\n
+                    <table:table-cell table:style-name=\'report-column-title\'\n
+                                      table:number-columns-spanned=\'1\'\n
+                                      office:value-type=\'string\'>\n
+                    </table:table-cell>\n
+                  </tal:block>\n
                   <tal:block tal:repeat="column_item listboxline/getColumnItemList">\n
                     <tal:block tal:define="column_property python: column_item[1];\n
                                            column_id python: column_item[0]">\n
diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision
index fa59ff276d..d55f9f7457 100644
--- a/bt5/erp5_ods_style/bt/revision
+++ b/bt5/erp5_ods_style/bt/revision
@@ -1 +1 @@
-134
\ No newline at end of file
+136
\ No newline at end of file
-- 
2.30.9