From 4bfcfe737527fdf99e30aaf9ecc10bae079b7d35 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Tue, 20 Mar 2018 14:24:21 +0000 Subject: [PATCH] [erp5_xhtml_style] Drop deprecated align attribute --- .../portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt | 2 +- .../portal_skins/erp5_xhtml_style/erp5_listbox.css.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt index 7ae717c3fe..42468ba021 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt @@ -423,7 +423,7 @@ <td class="listbox-table-anchor-cell" tal:condition="show_anchor_column"> </td> <td class="listbox-table-select-cell" tal:condition="show_select_column"> </td> <tal:block tal:repeat="value here/getStatValueList"> - <td align="left" + <td class="listbox-table-data-cell" tal:define="original_value python: value[0]; processed_value python: value[1]" tal:content="structure processed_value" /> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.css b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.css index 464fbb0aeb..095696b735 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.css +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5_listbox.css.css @@ -429,6 +429,10 @@ table.listbox input.listbox-select-action{ float:none; } +.listbox-table-data-cell { + text-align: left; +} + .listbox-table-data-cell > .figure{ float:right; display:block; -- 2.30.9