Commit 827cce0e authored by Jérome Perrin's avatar Jérome Perrin

support left/right align on stat line


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11303 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2e4040b2
...@@ -148,7 +148,8 @@ ...@@ -148,7 +148,8 @@
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="TableLastLine" tal:content="python: str(column_property)" />\n <para style="TableLastLine" tal:content="string:${column_property}"\n
tal:attributes="style python:isinstance(column_property, (int, long, float)) and \'TableLastLineRightAligned\' or \'TableLastLineLeftAligned\'" />\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
......
...@@ -94,6 +94,10 @@ ...@@ -94,6 +94,10 @@
<paragraphstyle name="TableStandardRightAligned" parent="Normal" fontname="Helvetica" fontsize="7" alignment="right" />\n <paragraphstyle name="TableStandardRightAligned" parent="Normal" fontname="Helvetica" fontsize="7" alignment="right" />\n
<paragraphstyle name="TableHeader" parent="Normal" fontname="Helvetica-Oblique" fontsize="7" alignment="left" />\n <paragraphstyle name="TableHeader" parent="Normal" fontname="Helvetica-Oblique" fontsize="7" alignment="left" />\n
<paragraphstyle name="TableLastLine" parent="Normal" fontname="Helvetica-Oblique" fontsize="7" alignment="right" />\n <paragraphstyle name="TableLastLine" parent="Normal" fontname="Helvetica-Oblique" fontsize="7" alignment="right" />\n
<paragraphstyle name="TableLastLineLeftAligned" parent="Normal"\n
fontname="Helvetica-Oblique" fontsize="7" alignment="left" />\n
<paragraphstyle name="TableLastLineRightAligned" parent="Normal"\n
fontname="Helvetica-Oblique" fontsize="7" alignment="right" />\n
\n \n
<paragraphstyle name="Section1" parent="Normal" fontname="Helvetica-Bold" fontsize="10"/>\n <paragraphstyle name="Section1" parent="Normal" fontname="Helvetica-Bold" fontsize="10"/>\n
<paragraphstyle name="Section2" leftindent="0.4cm" parent="Normal" fontname="Helvetica-Bold" fontsize="7"/>\n <paragraphstyle name="Section2" leftindent="0.4cm" parent="Normal" fontname="Helvetica-Bold" fontsize="7"/>\n
...@@ -182,7 +186,8 @@ ...@@ -182,7 +186,8 @@
\n \n
</pagetemplate>\n </pagetemplate>\n
\n \n
</template> </template>\n
]]></string> </value> ]]></string> </value>
</item> </item>
......
5 7
\ 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