From 1013468ad9da100f4514d3f798b2060b837883cb Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Fri, 23 Mar 2018 14:16:41 +0000 Subject: [PATCH] [erp5_xhtml_style] colspan value must not be higher than the count of header cells --- .../portal_skins/erp5_xhtml_style/ListBox_asHTML.zpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c8f3e15a32..83a897b05a 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 @@ -478,7 +478,7 @@ <!-- Hide row on no search criterion--> <tr tal:condition="hide_rows_on_no_search_criterion" class="listbox_missing_search_criterion"> - <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1"> + <td tal:attributes="colspan python: len(here.getSearchValueList()) + show_select_column + show_anchor_column"> <span i18n:translate="" i18n:domain="ui"> To display actual content, please fill in one or more search criterion. </span> @@ -487,7 +487,7 @@ <!-- No results. --> <tr tal:condition="python: total_line == 0 and not hide_rows_on_no_search_criterion"> - <td tal:attributes="colspan python: len(here.getSearchValueList()) + 1" + <td tal:attributes="colspan python: len(here.getSearchValueList()) + show_select_column + show_anchor_column" class="listbox-table-no-result-row"> <span i18n:translate="" i18n:domain="ui"> No result. -- 2.30.9