[Erp5-report] r43528 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 21 15:56:51 CET 2011


Author: ivan
Date: Mon Feb 21 15:56:51 2011
New Revision: 43528

URL: http://svn.erp5.org?rev=43528&view=rev
Log:
Add more portal type which are able to produce an image output (i.e. thumbnail).

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getThumbnailAbsoluteUrl.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getThumbnailAbsoluteUrl.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getThumbnailAbsoluteUrl.xml?rev=43528&r1=43527&r2=43528&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getThumbnailAbsoluteUrl.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Base_getThumbnailAbsoluteUrl.xml [utf8] Mon Feb 21 15:56:51 2011
@@ -67,7 +67,8 @@ portal_type = context.getPortalType()\n
 if portal_type in (\'Drawing\', \'Image\', \'PDF\', \'Presentation\', \'Spreadsheet\', \'Text\', \'Web Page\'):\n
   return context.absolute_url()\n
 \n
-if portal_type in (\'Person\',) and context.getDefaultImageAbsoluteUrl() is not None:\n
+if portal_type in (\'Person\', \'Organisation\', \'Credential Update\', \\\n
+                    \'Component\', \'Product\',) and context.getDefaultImageAbsoluteUrl() is not None:\n
   return context.getDefaultImageAbsoluteUrl()\n
 \n
 return None\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=43528&r1=43527&r2=43528&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision [utf8] Mon Feb 21 15:56:51 2011
@@ -1 +1 @@
-40895
\ No newline at end of file
+40896
\ No newline at end of file



More information about the Erp5-report mailing list