[Erp5-report] r39783 fabien - in /erp5/trunk/bt5/erp5_web_blog: SkinTemplateItem/portal_ski...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 2 17:13:40 CET 2010


Author: fabien
Date: Tue Nov  2 17:13:39 2010
New Revision: 39783

URL: http://svn.erp5.org?rev=39783&view=rev
Log:
call getLayoutProperty on web_site, not on context.

Modified:
    erp5/trunk/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getBlogPublicationSection.xml
    erp5/trunk/bt5/erp5_web_blog/bt/revision

Modified: erp5/trunk/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getBlogPublicationSection.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getBlogPublicationSection.xml?rev=39783&r1=39782&r2=39783&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getBlogPublicationSection.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_getBlogPublicationSection.xml [utf8] Tue Nov  2 17:13:39 2010
@@ -55,7 +55,7 @@
 \'\'\'\n
 \n
 web_site = context.getWebSiteValue()\n
-blog_section_id = context.getLayoutProperty(\'layout_blog_section_id\', default=\'blog\')\n
+blog_section_id = web_site.getLayoutProperty(\'layout_blog_section_id\', default=\'blog\')\n
 blog = getattr(web_site, blog_section_id, None)\n
 if blog is None:\n
   raise ValueError, \'Impossible to find %r blog section id. Please check \'\\\n

Modified: erp5/trunk/bt5/erp5_web_blog/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_blog/bt/revision?rev=39783&r1=39782&r2=39783&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_blog/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_blog/bt/revision [utf8] Tue Nov  2 17:13:39 2010
@@ -1 +1 @@
-71
\ No newline at end of file
+72
\ No newline at end of file




More information about the Erp5-report mailing list