[Erp5-report] r18434 - in /erp5/trunk/bt5/erp5_ods_style: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Dec 19 18:24:03 CET 2007


Author: jerome
Date: Wed Dec 19 18:24:02 2007
New Revision: 18434

URL: http://svn.erp5.org?rev=18434&view=rev
Log:
Unconditionnaly use Base_getODSStyleSheet as a stylesheet. It's really too much pain to maintain duplicated versions.

Modified:
    erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getDynamicODSStyleSheet.xml
    erp5/trunk/bt5/erp5_ods_style/bt/revision

Modified: erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getDynamicODSStyleSheet.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getDynamicODSStyleSheet.xml?rev=18434&r1=18433&r2=18434&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getDynamicODSStyleSheet.xml (original)
+++ erp5/trunk/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/Base_getDynamicODSStyleSheet.xml Wed Dec 19 18:24:02 2007
@@ -67,6 +67,13 @@
             <key> <string>_body</string> </key>
             <value> <string>from Products.ERP5Type.Message import Message\n
 \n
+# XXX for now, we always use the default Base_getODSStyleSheet\n
+# we use to have Base_getODSListStyleSheet with a line at the bottom of\n
+# the page, for better print display. Now we rather agreed that\n
+# ods_style is a style for export, not report and the rendering appearance\n
+# was not so important.\n
+return context.Base_getODSStyleSheet\n
+\n
 translate = lambda msg: Message(\'ui\', msg)\n
 request = context.REQUEST\n
 landscape = int(request.get(\'landscape\', 0))\n
@@ -128,9 +135,9 @@
                           <tuple>
                             <string>Products.ERP5Type.Message</string>
                             <string>Message</string>
-                            <string>translate</string>
                             <string>_getattr_</string>
                             <string>context</string>
+                            <string>translate</string>
                             <string>request</string>
                             <string>int</string>
                             <string>landscape</string>

Modified: erp5/trunk/bt5/erp5_ods_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ods_style/bt/revision?rev=18434&r1=18433&r2=18434&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ods_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ods_style/bt/revision Wed Dec 19 18:24:02 2007
@@ -1,1 +1,1 @@
-108
+111




More information about the Erp5-report mailing list