diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_content.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_content.xml index 9c72896573a9f824da4c7dd81225896d186405d8..35b8d59d231d35ccc3d35a0a19b971cdb57b4516 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_content.xml +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewLatestDocumentListGadget/listbox_field_content.xml @@ -307,7 +307,7 @@ <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ -python: \'<div><a href= "%s/view"><img class="left" src="%s?display=thumbnail&format=PNG&" /><span style="font-size: normal">%s</span></a></div><p class="clear" />\' % (cell.absolute_url(), cell.Base_getThumbnailAbsoluteUrl(), cell.getDescription()) +python: \'<div><a href= "%s/view">\' % cell.absolute_url() + (cell.Base_getThumbnailAbsoluteUrl() is not None and \'<img class="left" src="%s?display=thumbnail&format=PNG&" />\' % cell.Base_getThumbnailAbsoluteUrl() or \'\') + \'<span style="font-size: normal">%s</span></a></div><p class="clear" />\' % cell.getDescription() ]]></string> </value> </item> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index aabe32b8ba36036f14d7f0393abfb7afd924b613..abb531abb7e2c093d37bcf7e24cb02b60532f5e7 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -874 \ No newline at end of file +876 \ No newline at end of file