Commit faf2ad81 authored by Ivan Tyagov's avatar Ivan Tyagov

Person can have a thumbnail image.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43527 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d6e89b0
...@@ -67,6 +67,9 @@ portal_type = context.getPortalType()\n ...@@ -67,6 +67,9 @@ portal_type = context.getPortalType()\n
if portal_type in (\'Drawing\', \'Image\', \'PDF\', \'Presentation\', \'Spreadsheet\', \'Text\', \'Web Page\'):\n if portal_type in (\'Drawing\', \'Image\', \'PDF\', \'Presentation\', \'Spreadsheet\', \'Text\', \'Web Page\'):\n
return context.absolute_url()\n return context.absolute_url()\n
\n \n
if portal_type in (\'Person\',) and context.getDefaultImageAbsoluteUrl() is not None:\n
return context.getDefaultImageAbsoluteUrl()\n
\n
return None\n return None\n
</string> </value> </string> </value>
</item> </item>
......
40894 40895
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment