diff --git a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml index 6a8338ff7257fa45e8814260ad7cd625c555c586..dd6b0051bf858afb7ae20089dbaf31d81abdde85 100644 --- a/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml +++ b/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml @@ -406,13 +406,14 @@ bWxQSwUGAAAAAAIAAgCeAAAAhwwAAAAA</string> </value> </tal:block>\n </tal:block>\n <tal:block tal:condition="python: field_type == \'ImageField\'">\n - <text:p text:style-name=\'field-content\'\n - tal:define="size python: modules[\'Products.ERP5.Document.Image\'].getSizeFromImageDisplay(field.get_value(\'image_display\'))">\n - <text:p text:style-name=\'field-content-center\'>\n + <text:p text:style-name=\'field-label-center\' i18n:domain="ui" i18n:translate=""\n + tal:content="python: field.get_value(\'title\')"/>\n + \n + <text:p text:style-name=\'field-content-center\'\n + tal:define="size python: modules[\'Products.ERP5.Document.Image\'].getSizeFromImageDisplay(field.get_value(\'image_display\'))">\n <office:include_img style="inline-graphic"\n - tal:attributes="width python: (size and size[0] or 100) / 20.;\n - path python: \'/\'.join(request.physicalPathFromURL(field.get_value(\'default\')));"/>\n - </text:p>\n + tal:attributes="width python: (size and size[0] or 100) / 20.;\n + path python: \'/\'.join(request.physicalPathFromURL(field.get_value(\'default\')));"/>\n </text:p>\n </tal:block>\n <tal:block tal:condition="python: field_type == \'OOoChart\'">\n diff --git a/bt5/erp5_odt_style/bt/revision b/bt5/erp5_odt_style/bt/revision index ac4213d6e97d9cfeb1d7bc8f948c06114a56de18..d2e1cefe89e17269cf846b1b537654757ac8b735 100644 --- a/bt5/erp5_odt_style/bt/revision +++ b/bt5/erp5_odt_style/bt/revision @@ -1 +1 @@ -43 \ No newline at end of file +44 \ No newline at end of file