[Erp5-report] r39594 ivan - in /erp5/trunk/bt5/erp5_km: SkinTemplateItem/portal_skins/erp5_...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 28 12:41:49 CEST 2010
Author: ivan
Date: Thu Oct 28 12:41:48 2010
New Revision: 39594
URL: http://svn.erp5.org?rev=39594&view=rev
Log:
Improve prodile gadget and make it use standard "gadget_view" form renderer. i.e. replace custom "gadget_tab_view"
Modified:
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget.xml
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_publication_section.xml
erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_reference.xml
erp5/trunk/bt5/erp5_km/bt/revision
Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget.xml?rev=39594&r1=39593&r2=39594&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget.xml [utf8] Thu Oct 28 12:41:48 2010
@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
- <tuple>
- <global name="ERP5Form" module="Products.ERP5Form.Form"/>
- <tuple/>
- </tuple>
+ <global name="ERP5Form" module="Products.ERP5Form.Form"/>
</pickle>
<pickle>
<dictionary>
@@ -62,7 +59,7 @@
<key> <string>group_list</string> </key>
<value>
<list>
- <string>gadget</string>
+ <string>gadget-profile</string>
</list>
</value>
</item>
@@ -71,7 +68,7 @@
<value>
<dictionary>
<item>
- <key> <string>gadget</string> </key>
+ <key> <string>gadget-profile</string> </key>
<value>
<list>
<string>document_profile_title</string>
@@ -106,7 +103,7 @@
</item>
<item>
<key> <string>pt</string> </key>
- <value> <string>gadget_tab_view</string> </value>
+ <value> <string>gadget_view</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_publication_section.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_publication_section.xml?rev=39594&r1=39593&r2=39594&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_publication_section.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_publication_section.xml [utf8] Thu Oct 28 12:41:48 2010
@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
- <tuple>
- <global name="StringField" module="Products.Formulator.StandardFields"/>
- <tuple/>
- </tuple>
+ <global name="StringField" module="Products.Formulator.StandardFields"/>
</pickle>
<pickle>
<dictionary>
@@ -266,10 +263,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
- <tuple>
- <global name="TALESMethod" module="Products.Formulator.TALESField"/>
- <tuple/>
- </tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
@@ -282,16 +276,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
- <tuple>
- <global name="TALESMethod" module="Products.Formulator.TALESField"/>
- <tuple/>
- </tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string>python: not context.portal_membership.isAnonymousUser() and request.get(\'current_web_document\', here).isDocument()</string> </value>
+ <value> <string>python: not context.portal_membership.isAnonymousUser() and request.get(\'current_web_document\', here).isDocument() and request.get(\'current_web_document\', here).getPublicationSection() is not None</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_reference.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_reference.xml?rev=39594&r1=39593&r2=39594&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_reference.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_widget_library/Document_viewProfileGadget/document_profile_reference.xml [utf8] Thu Oct 28 12:41:48 2010
@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
- <tuple>
- <global name="StringField" module="Products.Formulator.StandardFields"/>
- <tuple/>
- </tuple>
+ <global name="StringField" module="Products.Formulator.StandardFields"/>
</pickle>
<pickle>
<dictionary>
@@ -266,10 +263,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
- <tuple>
- <global name="TALESMethod" module="Products.Formulator.TALESField"/>
- <tuple/>
- </tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
@@ -282,16 +276,13 @@
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
- <tuple>
- <global name="TALESMethod" module="Products.Formulator.TALESField"/>
- <tuple/>
- </tuple>
+ <global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
- <value> <string>python: request.get(\'current_web_document\', here).isDocument()</string> </value>
+ <value> <string>python: request.get(\'current_web_document\', here).isDocument() and request.get(\'current_web_document\', here).getReference() is not None</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_km/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_km/bt/revision?rev=39594&r1=39593&r2=39594&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_km/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_km/bt/revision [utf8] Thu Oct 28 12:41:48 2010
@@ -1 +1 @@
-1644
\ No newline at end of file
+1645
\ No newline at end of file
More information about the Erp5-report
mailing list