[Erp5-report] r11302 - in /erp5/trunk/bt5/erp5_pdf_style: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 15 10:32:53 CET 2006
Author: jerome
Date: Wed Nov 15 10:32:52 2006
New Revision: 11302
URL: http://svn.erp5.org?rev=11302&view=rev
Log:
check the type of the displayed value to decide wether it's left or right
algined
Modified:
erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/listbox_pdf_macro.xml
erp5/trunk/bt5/erp5_pdf_style/bt/revision
Modified: erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/listbox_pdf_macro.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/listbox_pdf_macro.xml?rev=11302&r1=11301&r2=11302&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/listbox_pdf_macro.xml (original)
+++ erp5/trunk/bt5/erp5_pdf_style/SkinTemplateItem/portal_skins/erp5_pdf_style/listbox_pdf_macro.xml Wed Nov 15 10:32:52 2006
@@ -73,7 +73,8 @@
\n
<tal:block tal:condition="python: len(listboxline_list) > 1" >\n
\n
- <tal:block tal:condition="python: is_domain_tree_mode == 1" tal:define="domain_list python: selection.getDomainList()">\n
+ <tal:block tal:condition="python: is_domain_tree_mode"\n
+ tal:define="domain_list python: selection.getDomainList()">\n
<tal:block tal:condition="python: len(domain_list) > 0" >\n
<table style="StandardTableWithGrid">\n
<tr>\n
@@ -128,13 +129,13 @@
column_id python: column_item[0]">\n
<tal:block tal:condition="python: column_property is not None">\n
<td tal:attributes="colwidth python:\'%.2fcm\' % float(column_width[column_id])">\n
- <para style="TableStandard" tal:content="python: str(column_property)"\n
- tal:attributes="style python:column_id in (\'gap_id\', \'id\', \'title\', \'translated_portal_type\', \'third_party\', \'translated_simulation_state_title\') and \'TableStandardLeftAligned\' or \'TableStandardRightAligned\'" />\n
+ <para style="TableStandard" tal:content="string:${column_property}"\n
+ tal:attributes="style python:isinstance(column_property, (int, long, float)) and \'TableStandardRightAligned\' or \'TableStandardLeftAligned\'" />\n
</td>\n
</tal:block>\n
<tal:block tal:condition="python: column_property is None">\n
<td>\n
- <para style="TableStandard" tal:content="python: \'\' " />\n
+ <para style="TableStandard" tal:content="string:" />\n
</td>\n
</tal:block>\n
</tal:block>\n
@@ -173,7 +174,8 @@
\n
\n
</body>\n
-</html>
+</html>\n
+
]]></string> </value>
</item>
Modified: erp5/trunk/bt5/erp5_pdf_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_pdf_style/bt/revision?rev=11302&r1=11301&r2=11302&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_pdf_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_pdf_style/bt/revision Wed Nov 15 10:32:52 2006
@@ -1,1 +1,1 @@
-1
+5
More information about the Erp5-report
mailing list