Commit 174a5778 authored by Jérome Perrin's avatar Jérome Perrin

support .figure class in listbox editable fields.

Remove obsolete code that was using the value type to align left or right.
review by Ivan


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39022 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2ba8ba76
......@@ -412,8 +412,8 @@
<td class="listbox-table-select-cell" tal:condition="show_select_column">&nbsp;</td>\n
<tal:block tal:repeat="value here/getStatValueList">\n
<td align="left"\n
class="listbox-table-data-cell"\n
tal:define="original_value python: value[0]; processed_value python: value[1]"\n
tal:attributes="align python: isinstance(original_value, (float, int, long)) and \'right\' or \'left\'"\n
tal:content="structure processed_value" />\n
</tal:block>\n
</tr>\n
......
......@@ -727,6 +727,16 @@ table.listbox input{\n
float:none;\n
}\n
\n
.listbox-table-data-cell > .figure{\n
float:right;\n
display:block;\n
}\n
\n
.listbox-table-data-cell > a > .figure{\n
float:right;\n
display:block;\n
}\n
\n
table.listbox th button{\n
border-width:0;\n
cursor:pointer;\n
......@@ -795,7 +805,8 @@ div.search-text-listbox{\n
\n
div.search-text-listbox input{\n
width: auto;\n
}
}\n
]]></string> </value>
</item>
......
1029
\ No newline at end of file
1031
\ 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