[Erp5-report] r20429 - in /erp5/trunk/bt5/erp5_odt_style: SkinTemplateItem/portal_skins/erp...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 10 18:28:39 CEST 2008


Author: thibaut
Date: Thu Apr 10 18:28:38 2008
New Revision: 20429

URL: http://svn.erp5.org?rev=20429&view=rev
Log:
Modify form_view to see ImageField when the field is in bottom group

Modified:
    erp5/trunk/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml
    erp5/trunk/bt5/erp5_odt_style/bt/revision

Modified: erp5/trunk/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml?rev=20429&r1=20428&r2=20429&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml (original)
+++ erp5/trunk/bt5/erp5_odt_style/SkinTemplateItem/portal_skins/erp5_odt_style/form_view.xml Thu Apr 10 18:28:38 2008
@@ -406,13 +406,14 @@
                 </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

Modified: erp5/trunk/bt5/erp5_odt_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_odt_style/bt/revision?rev=20429&r1=20428&r2=20429&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_odt_style/bt/revision (original)
+++ erp5/trunk/bt5/erp5_odt_style/bt/revision Thu Apr 10 18:28:38 2008
@@ -1,1 +1,1 @@
-43
+44




More information about the Erp5-report mailing list