[Erp5-report] r43527 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateI...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Feb 21 15:43:20 CET 2011
Author: ivan
Date: Mon Feb 21 15:43:20 2011
New Revision: 43527
URL: http://svn.erp5.org?rev=43527&view=rev
Log:
Person can have a thumbnail image.
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=43527&r1=43526&r2=43527&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:43:20 2011
@@ -67,6 +67,9 @@ 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
+ return context.getDefaultImageAbsoluteUrl()\n
+\n
return None\n
</string> </value>
</item>
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=43527&r1=43526&r2=43527&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:43:20 2011
@@ -1 +1 @@
-40894
\ No newline at end of file
+40895
\ No newline at end of file
More information about the Erp5-report
mailing list