diff --git a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml index 5c31785319456960152bc60a5fb37abcaa225aaa..a6d9b1285f855fcbae34543087875af6a6f685f1 100644 --- a/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml +++ b/bt5/erp5_ods_style/SkinTemplateItem/portal_skins/erp5_ods_style/form_view.xml @@ -113,15 +113,14 @@ dQEAAAAA</string> </value> tal:content="value">\n </text:p>\n <tal:block tal:condition="python: value != \'\'">\n -\n - <text:p tal:condition="item_list">\n + <tal:block tal:condition="item_list">\n <tal:block tal:define="displayed_value_list python: [str(i[0]).replace(\'&\', \'\') for i in item_list if i[1] == value]">\n - <tal:block tal:condition="displayed_value_list"\n - tal:replace="python: displayed_value_list[0]" />\n - <tal:block tal:condition="not: displayed_value_list"\n - tal:replace="python: value" />\n + <text:p tal:condition="displayed_value_list"\n + tal:content="python: displayed_value_list[0]" />\n + <text:p tal:condition="not: displayed_value_list"\n + tal:content="python: value" />\n </tal:block>\n - </text:p>\n + </tal:block>\n </tal:block>\n <tal:block tal:condition="python: value is None">\n <text:p table:style="Default" tal:content="python: \' \'" />\n diff --git a/bt5/erp5_ods_style/bt/revision b/bt5/erp5_ods_style/bt/revision index 1e3852840b57172af41e4323ea5262e777f99916..b7c52fb1813fefa7feb43758b4c9d2ca8f65a681 100644 --- a/bt5/erp5_ods_style/bt/revision +++ b/bt5/erp5_ods_style/bt/revision @@ -1 +1 @@ -211 \ No newline at end of file +212 \ No newline at end of file