Commit 2e4040b2 authored by Jérome Perrin's avatar Jérome Perrin

check the type of the displayed value to decide wether it's left or right

algined



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11302 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f8fb9ea9
...@@ -73,7 +73,8 @@ ...@@ -73,7 +73,8 @@
\n \n
<tal:block tal:condition="python: len(listboxline_list) > 1" >\n <tal:block tal:condition="python: len(listboxline_list) > 1" >\n
\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 <tal:block tal:condition="python: len(domain_list) > 0" >\n
<table style="StandardTableWithGrid">\n <table style="StandardTableWithGrid">\n
<tr>\n <tr>\n
...@@ -128,13 +129,13 @@ ...@@ -128,13 +129,13 @@
column_id python: column_item[0]">\n column_id python: column_item[0]">\n
<tal:block tal:condition="python: column_property is not None">\n <tal:block tal:condition="python: column_property is not None">\n
<td tal:attributes="colwidth python:\'%.2fcm\' % float(column_width[column_id])">\n <td tal:attributes="colwidth python:\'%.2fcm\' % float(column_width[column_id])">\n
<para style="TableStandard" tal:content="python: str(column_property)"\n <para style="TableStandard" tal:content="string:${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 tal:attributes="style python:isinstance(column_property, (int, long, float)) and \'TableStandardRightAligned\' or \'TableStandardLeftAligned\'" />\n
</td>\n </td>\n
</tal:block>\n </tal:block>\n
<tal:block tal:condition="python: column_property is None">\n <tal:block tal:condition="python: column_property is None">\n
<td>\n <td>\n
<para style="TableStandard" tal:content="python: \'\' " />\n <para style="TableStandard" tal:content="string:" />\n
</td>\n </td>\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
...@@ -173,7 +174,8 @@ ...@@ -173,7 +174,8 @@
\n \n
\n \n
</body>\n </body>\n
</html> </html>\n
]]></string> </value> ]]></string> </value>
</item> </item>
......
1 5
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment