[Erp5-report] r31360 jerome - in /erp5/trunk/bt5/erp5_invoicing: SkinTemplateItem/portal_sk...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 16 18:42:27 CET 2009


Author: jerome
Date: Wed Dec 16 18:42:27 2009
New Revision: 31360

URL: http://svn.erp5.org?rev=31360&view=rev
Log:
Don't use a fixed size for the "Notes" box, unless the box is empty
( same as r31257 )

Modified:
    erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/Invoice_viewAsODT.xml
    erp5/trunk/bt5/erp5_invoicing/bt/revision

Modified: erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/Invoice_viewAsODT.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/Invoice_viewAsODT.xml?rev=31360&r1=31359&r2=31360&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/Invoice_viewAsODT.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/Invoice_viewAsODT.xml [utf8] Wed Dec 16 18:42:27 2009
@@ -235,8 +235,12 @@
     <style:style style:family=\'table-cell\' style:name=\'Tableau3.E7\'>\n
       <style:table-cell-properties fo:padding=\'0.097cm\' fo:border-right=\'0.018cm solid #000000\' fo:border-top=\'0.018cm solid #000000\' fo:border-left=\'none\' fo:border-bottom=\'none\' style:vertical-align=\'middle\'/>\n
     </style:style>\n
-    <style:style style:family=\'table-row\' style:name=\'Tableau3.8\'>\n
-      <style:table-row-properties style:row-height=\'1.499cm\'/>\n
+    <style:style style:family=\'table-row\' style:name=\'EmptyTableau3.8\'>\n
+      <style:table-row-properties style:row-height=\'1.499cm\'/> \n
+    </style:style>\n
+    <style:style style:family=\'table-row\' style:name=\'DynamicTableau3.8\'/>\n
+    <style:style style:family=\'table-cell\' style:name=\'Tableau3.A7\'>\n
+      <style:table-cell-properties fo:border-left=\'0.018cm solid #000000\' fo:border-right=\'0.018cm solid #000000\' fo:border-bottom=\'0.018cm solid #000000\' fo:padding=\'0.097cm\' fo:border-top=\'none\'/>\n
     </style:style>\n
     <style:style style:family=\'table-cell\' style:name=\'Tableau3.A8\'>\n
       <style:table-cell-properties fo:border-left=\'0.018cm solid #000000\' fo:border-right=\'0.018cm solid #000000\' fo:border-bottom=\'0.018cm solid #000000\' fo:padding=\'0.097cm\' fo:border-top=\'none\'/>\n
@@ -710,7 +714,8 @@
                   <text:p text:style-name=\'Table_20_Contents\'/>\n
                 </table:table-cell>\n
               </table:table-row>\n
-              <table:table-row table:style-name=\'Tableau3.8\'>\n
+              <table:table-row table:style-name=\'Tableau3.8\'\n
+                  tal:attributes="table:style-name python: data_dict[\'description\'] and \'DynamicTableau3.8\' or \'EmptyTableau3.8\'">\n
                 <table:table-cell table:style-name=\'Tableau3.A8\' table:number-columns-spanned=\'5\' office:value-type=\'string\'>\n
                   <text:p text:style-name=\'P3\'><tal:block tal:repeat="line data_dict/description"><tal:block\n
                           tal:replace="line"/><text:line-break tal:condition="not:repeat/line/end"/></tal:block>\n

Modified: erp5/trunk/bt5/erp5_invoicing/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_invoicing/bt/revision?rev=31360&r1=31359&r2=31360&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_invoicing/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_invoicing/bt/revision [utf8] Wed Dec 16 18:42:27 2009
@@ -1,1 +1,1 @@
-319
+320




More information about the Erp5-report mailing list