[Erp5-report] r39939 yusei - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/erp...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 5 02:28:06 CET 2010
Author: yusei
Date: Fri Nov 5 02:28:06 2010
New Revision: 39939
URL: http://svn.erp5.org?rev=39939&view=rev
Log:
2010-11-05 yusei
* Simplify Event_init.
Modified:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
erp5/trunk/bt5/erp5_crm/bt/change_log
erp5/trunk/bt5/erp5_crm/bt/revision
Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml?rev=39939&r1=39938&r2=39939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_init.xml [utf8] Fri Nov 5 02:28:06 2010
@@ -53,9 +53,7 @@
<value> <string># XXX Reference will be probably generated with dedicated tool\n
# in near future\n
\n
-portal = context.getPortalObject()\n
-portal_type = context.getPortalType()\n
-type_definition = portal.portal_types[portal_type]\n
+type_definition = context.getTypeInfo()\n
\n
short_portal_type = type_definition.getShortTitle()\n
if not short_portal_type:\n
@@ -115,14 +113,12 @@ context.edit(content_type=context.portal
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
- <string>portal</string>
- <string>portal_type</string>
- <string>_getitem_</string>
<string>type_definition</string>
<string>short_portal_type</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string>
+ <string>portal_type</string>
<string>s</string>
<string>id_group</string>
<string>default</string>
Modified: erp5/trunk/bt5/erp5_crm/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/change_log?rev=39939&r1=39938&r2=39939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/change_log [utf8] Fri Nov 5 02:28:06 2010
@@ -1,3 +1,6 @@
+2010-11-05 yusei
+* Simplify Event_init.
+
2010-10-14 lucas
* Generate reference automatically for Support Request.
Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=39939&r1=39938&r2=39939&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Fri Nov 5 02:28:06 2010
@@ -1 +1 @@
-497
\ No newline at end of file
+498
\ No newline at end of file
More information about the Erp5-report
mailing list