Commit 4b27091a authored by Romain Courteaud's avatar Romain Courteaud

Add a direct download link on Base_viewDocumentList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24784 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8ec020d4
......@@ -95,6 +95,7 @@
<value>
<list>
<string>listbox_thumbnail</string>
<string>listbox_download</string>
</list>
</value>
</item>
......
......@@ -20,6 +20,7 @@
<string>selection_name</string>
<string>portal_types</string>
<string>editable_columns</string>
<string>url_columns</string>
</list>
</value>
</item>
......@@ -114,6 +115,10 @@
<key> <string>all_columns</string> </key>
<value>
<list>
<tuple>
<string>download</string>
<string>Download</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -175,6 +180,10 @@
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>download</string>
<string>Download</string>
</tuple>
<tuple>
<string>title</string>
<string>Title</string>
......@@ -202,6 +211,10 @@
<string>thumbnail</string>
<string>Thumbnail</string>
</tuple>
<tuple>
<string>download</string>
<string>Download</string>
</tuple>
</list>
</value>
</item>
......@@ -237,6 +250,17 @@
<key> <string>title</string> </key>
<value> <string>Documents</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
<value>
<list>
<tuple>
<string>download</string>
<string>File_getDownloadUrl</string>
</tuple>
</list>
</value>
</item>
</dictionary>
</value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>default</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_download</string> </value>
</item>
<item>
<key> <string>message_values</string> </key>
<value>
<dictionary>
<item>
<key> <string>external_validator_failed</string> </key>
<value> <string>The input failed the external validator.</string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>overrides</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>tales</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>editable</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_thumbnail</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>File_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>cell/getIcon</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
1031
\ No newline at end of file
1032
\ 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