[Erp5-report] r41860 nicolas - in /erp5/trunk/bt5/erp5_crm: SkinTemplateItem/portal_skins/e...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 29 14:42:46 CET 2010
Author: nicolas
Date: Wed Dec 29 14:42:46 2010
New Revision: 41860
URL: http://svn.erp5.org?rev=41860&view=rev
Log:
Rename Template and follow naming convention
Added:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_renderHTMLPreviewAsImage.xml
Removed:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Attachment_renderHTMLPreviewAsImage.xml
Modified:
erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewPreview/my_thumbnail.xml
erp5/trunk/bt5/erp5_crm/bt/revision
Removed: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Attachment_renderHTMLPreviewAsImage.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Attachment_renderHTMLPreviewAsImage.xml?rev=41859&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Attachment_renderHTMLPreviewAsImage.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Attachment_renderHTMLPreviewAsImage.xml (removed)
@@ -1,87 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>_bind_names</string> </key>
- <value>
- <object>
- <klass>
- <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
- </klass>
- <tuple/>
- <state>
- <dictionary>
- <item>
- <key> <string>_asgns</string> </key>
- <value>
- <dictionary>
- <item>
- <key> <string>name_subpath</string> </key>
- <value> <string>traverse_subpath</string> </value>
- </item>
- </dictionary>
- </value>
- </item>
- </dictionary>
- </state>
- </object>
- </value>
- </item>
- <item>
- <key> <string>_text</string> </key>
- <value> <unicode encoding="cdata"><![CDATA[
-
-<div class="pdf-preview-content" \n
- tal:define="frame request/frame| python:here.PDF_getPageNumberFromSelectionIndex(request.get(\'selection_index\', 0));\n
- display request/display|string:small;\n
- format request/format|string:jpg;"> \n
- <p tal:repeat="image_list python: here.Event_getAttachmentList()">\n
-\n
- <img src="" \n
- tal:attributes="src string:${image_list/absolute_url}/index_html?display=${display}&format=${format}&frame=${frame}&resolution:int=200">\n
- </p>\n
- <tal:block tal:define="information_list here/getAttachmentInformationList | python:\n
- [{\'To\': \'erp5-report at erp5.org\', \'uid\': \'part_0\', \'index\': 0}, \n
- {\'index\': 2, \'uid\': \'part_2\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}, \n
- {\'index\': 3, \'uid\': \'part_3\', \'Content-Disposition\': \'inline\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}]">\n
-\n
- <p tal:repeat="information information_list">\n
- <tal:block tal:condition="python: information[\'content_type\'].split(\'/\')[0] == \'image\'" >\n
- <img src="" tal:attributes="src python:\'getAttachmentData?index:int=%s\' % information[\'index\']"/>\n
- </tal:block>\n
- </p>\n
-\n
-</tal:block>\n
-</div>
-
-]]></unicode> </value>
- </item>
- <item>
- <key> <string>content_type</string> </key>
- <value> <string>text/html</string> </value>
- </item>
- <item>
- <key> <string>expand</string> </key>
- <value> <int>0</int> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>Attachment_renderHTMLPreviewAsImage</string> </value>
- </item>
- <item>
- <key> <string>output_encoding</string> </key>
- <value> <string>utf-8</string> </value>
- </item>
- <item>
- <key> <string>title</string> </key>
- <value> <unicode></unicode> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Added: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_renderHTMLPreviewAsImage.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_renderHTMLPreviewAsImage.xml?rev=41860&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_renderHTMLPreviewAsImage.xml (added)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_renderHTMLPreviewAsImage.xml [utf8] Wed Dec 29 14:42:46 2010
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_bind_names</string> </key>
+ <value>
+ <object>
+ <klass>
+ <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+ </klass>
+ <tuple/>
+ <state>
+ <dictionary>
+ <item>
+ <key> <string>_asgns</string> </key>
+ <value>
+ <dictionary>
+ <item>
+ <key> <string>name_subpath</string> </key>
+ <value> <string>traverse_subpath</string> </value>
+ </item>
+ </dictionary>
+ </value>
+ </item>
+ </dictionary>
+ </state>
+ </object>
+ </value>
+ </item>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <unicode encoding="cdata"><![CDATA[
+
+<div class="pdf-preview-content" \n
+ tal:define="frame request/frame| python:here.PDF_getPageNumberFromSelectionIndex(request.get(\'selection_index\', 0));\n
+ display request/display|string:small;\n
+ format request/format|string:jpg;"> \n
+ <p tal:repeat="image_list python: here.Event_getAttachmentList()">\n
+\n
+ <img src="" \n
+ tal:attributes="src string:${image_list/absolute_url}/index_html?display=${display}&format=${format}&frame=${frame}&resolution:int=200">\n
+ </p>\n
+ <tal:block tal:define="information_list here/getAttachmentInformationList | python:\n
+ [{\'To\': \'erp5-report at erp5.org\', \'uid\': \'part_0\', \'index\': 0}, \n
+ {\'index\': 2, \'uid\': \'part_2\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}, \n
+ {\'index\': 3, \'uid\': \'part_3\', \'Content-Disposition\': \'inline\', \'Content-Transfer-Encoding\': \'7bit\', \'MIME-Version\': \'1.0\'}]">\n
+\n
+ <p tal:repeat="information information_list">\n
+ <tal:block tal:condition="python: information[\'content_type\'].split(\'/\')[0] == \'image\'" >\n
+ <img src="" tal:attributes="src python:\'getAttachmentData?index:int=%s\' % information[\'index\']"/>\n
+ </tal:block>\n
+ </p>\n
+\n
+</tal:block>\n
+</div>
+
+]]></unicode> </value>
+ </item>
+ <item>
+ <key> <string>content_type</string> </key>
+ <value> <string>text/html</string> </value>
+ </item>
+ <item>
+ <key> <string>expand</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>Event_renderHTMLPreviewAsImage</string> </value>
+ </item>
+ <item>
+ <key> <string>output_encoding</string> </key>
+ <value> <string>utf-8</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <unicode></unicode> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewPreview/my_thumbnail.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewPreview/my_thumbnail.xml?rev=41860&r1=41859&r2=41860&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewPreview/my_thumbnail.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewPreview/my_thumbnail.xml [utf8] Wed Dec 29 14:42:46 2010
@@ -293,16 +293,13 @@
</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>
<item>
<key> <string>_text</string> </key>
- <value> <string>here/Attachment_renderHTMLPreviewAsImage</string> </value>
+ <value> <string>here/Event_renderHTMLPreviewAsImage</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_crm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_crm/bt/revision?rev=41860&r1=41859&r2=41860&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_crm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_crm/bt/revision [utf8] Wed Dec 29 14:42:46 2010
@@ -1 +1 @@
-516
\ No newline at end of file
+517
\ No newline at end of file
More information about the Erp5-report
mailing list