Commit 6b7ac8de authored by Thierry's avatar Thierry

2007-09-04 Thierry

* Improve list and view forms related to Events and Tickets documents

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16049 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d910bdf1
...@@ -99,12 +99,6 @@ ...@@ -99,12 +99,6 @@
<name>Add CMFMailIn Tools</name> <name>Add CMFMailIn Tools</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add ChartObject</name>
</permission>
<permission type='list'>
<name>Add ChartTemplate</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Add Configured CMF Sites</name> <name>Add Configured CMF Sites</name>
</permission> </permission>
...@@ -202,15 +196,6 @@ ...@@ -202,15 +196,6 @@
<name>Add Formulator Forms</name> <name>Add Formulator Forms</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add KZMailmans</name>
</permission>
<permission type='list'>
<name>Add LDAP Connections</name>
</permission>
<permission type='list'>
<name>Add LDAP Filters</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add LocalContents</name> <name>Add LocalContents</name>
<role>Manager</role> <role>Manager</role>
...@@ -227,28 +212,14 @@ ...@@ -227,28 +212,14 @@
<name>Add MailHost objects</name> <name>Add MailHost objects</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add Mailman List Member</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add MessageCatalogs</name> <name>Add MessageCatalogs</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add MimetypesRegistry Tools</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add Page Templates</name> <name>Add Page Templates</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'>
<name>Add Photo Folders</name>
<role>Manager</role>
</permission>
<permission type='tuple'>
<name>Add Photos</name>
<role>Manager</role>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add Pluggable Index</name> <name>Add Pluggable Index</name>
<role>Manager</role> <role>Manager</role>
...@@ -256,9 +227,6 @@ ...@@ -256,9 +227,6 @@
<permission type='list'> <permission type='list'>
<name>Add Plugin Registrys</name> <name>Add Plugin Registrys</name>
</permission> </permission>
<permission type='list'>
<name>Add PortalTransforms Tools</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add Python Scripts</name> <name>Add Python Scripts</name>
<role>Manager</role> <role>Manager</role>
...@@ -271,9 +239,6 @@ ...@@ -271,9 +239,6 @@
<name>Add ReStructuredText Documents</name> <name>Add ReStructuredText Documents</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add RenderableObject</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add Session Data Manager</name> <name>Add Session Data Manager</name>
<role>Manager</role> <role>Manager</role>
...@@ -306,15 +271,6 @@ ...@@ -306,15 +271,6 @@
<name>Add Vocabularies</name> <name>Add Vocabularies</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Add WSDLObject</name>
</permission>
<permission type='list'>
<name>Add XML Method Cache Managers</name>
</permission>
<permission type='list'>
<name>Add XSLT Methods</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Add Z Gadfly Database Connections</name> <name>Add Z Gadfly Database Connections</name>
<role>Manager</role> <role>Manager</role>
...@@ -368,12 +324,6 @@ ...@@ -368,12 +324,6 @@
<name>Add portal topics</name> <name>Add portal topics</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Admin KZMailman</name>
</permission>
<permission type='list'>
<name>Browse Connection Entries</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Change Browser Id Manager</name> <name>Change Browser Id Manager</name>
<role>Manager</role> <role>Manager</role>
...@@ -414,24 +364,14 @@ ...@@ -414,24 +364,14 @@
<name>Change Images and Files</name> <name>Change Images and Files</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Change LDAP Methods</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Change Lock Information</name> <name>Change Lock Information</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Change Mailman List Options</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Change Page Templates</name> <name>Change Page Templates</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='tuple'>
<name>Change Photo</name>
<role>Manager</role>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Change Python Scripts</name> <name>Change Python Scripts</name>
<role>Manager</role> <role>Manager</role>
...@@ -487,17 +427,11 @@ ...@@ -487,17 +427,11 @@
<name>Change proxy roles</name> <name>Change proxy roles</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Change user folder</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Copy or Move</name> <name>Copy or Move</name>
<role>Assignor</role> <role>Assignor</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Create New Entry Objects</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Create Transient Objects</name> <name>Create Transient Objects</name>
<role>Manager</role> <role>Manager</role>
...@@ -510,9 +444,6 @@ ...@@ -510,9 +444,6 @@
<name>Define permissions</name> <name>Define permissions</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Delete Entry Objects</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Delete objects</name> <name>Delete objects</name>
<role>Assignor</role> <role>Assignor</role>
...@@ -522,9 +453,6 @@ ...@@ -522,9 +453,6 @@
<name>Download ExtFile/ExtImage</name> <name>Download ExtFile/ExtImage</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Edit Factories</name> <name>Edit Factories</name>
<role>Manager</role> <role>Manager</role>
...@@ -533,9 +461,6 @@ ...@@ -533,9 +461,6 @@
<name>Edit ReStructuredText</name> <name>Edit ReStructuredText</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Edit connection</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Edit target</name> <name>Edit target</name>
</permission> </permission>
...@@ -543,9 +468,6 @@ ...@@ -543,9 +468,6 @@
<name>FTP access</name> <name>FTP access</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Get Mailman List Members</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Import/Export objects</name> <name>Import/Export objects</name>
<role>Manager</role> <role>Manager</role>
...@@ -587,15 +509,9 @@ ...@@ -587,15 +509,9 @@
<name>Manage Access Rules</name> <name>Manage Access Rules</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Manage Entry information</name>
</permission>
<permission type='list'> <permission type='list'>
<name>Manage Groups</name> <name>Manage Groups</name>
</permission> </permission>
<permission type='list'>
<name>Manage Selenium test cases</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Manage Transient Object Container</name> <name>Manage Transient Object Container</name>
<role>Manager</role> <role>Manager</role>
...@@ -608,12 +524,6 @@ ...@@ -608,12 +524,6 @@
<name>Manage WebDAV Locks</name> <name>Manage WebDAV Locks</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Manage XML Method Cache</name>
</permission>
<permission type='list'>
<name>Manage XML Methods</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Manage Z Classes</name> <name>Manage Z Classes</name>
<role>Manager</role> <role>Manager</role>
...@@ -626,9 +536,6 @@ ...@@ -626,9 +536,6 @@
<name>Manage ZCatalogIndex Entries</name> <name>Manage ZCatalogIndex Entries</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Manage extensions</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Manage languages</name> <name>Manage languages</name>
<role>Manager</role> <role>Manager</role>
...@@ -658,9 +565,6 @@ ...@@ -658,9 +565,6 @@
<role>Assignor</role> <role>Assignor</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Open/Close Connection</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Open/Close Database Connection</name> <name>Open/Close Database Connection</name>
<role>Manager</role> <role>Manager</role>
...@@ -677,9 +581,6 @@ ...@@ -677,9 +581,6 @@
<name>Query Vocabulary</name> <name>Query Vocabulary</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Remove Mailman List Member</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Reply to item</name> <name>Reply to item</name>
<role>Manager</role> <role>Manager</role>
...@@ -737,9 +638,6 @@ ...@@ -737,9 +638,6 @@
<name>Use Factories</name> <name>Use Factories</name>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>Use LDAP Methods</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>Use mailhost services</name> <name>Use mailhost services</name>
<role>Manager</role> <role>Manager</role>
...@@ -762,9 +660,6 @@ ...@@ -762,9 +660,6 @@
<role>Author</role> <role>Author</role>
<role>Manager</role> <role>Manager</role>
</permission> </permission>
<permission type='list'>
<name>View KZMailman</name>
</permission>
<permission type='tuple'> <permission type='tuple'>
<name>View ZMailMessage</name> <name>View ZMailMessage</name>
<role>Manager</role> <role>Manager</role>
......
...@@ -96,7 +96,10 @@ ...@@ -96,7 +96,10 @@
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list/> <list>
<string>listbox_destination_title</string>
<string>listbox_delivery_start_date</string>
</list>
</value> </value>
</item> </item>
<item> <item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Form.ProxyField</string>
<string>ProxyField</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>delegated_list</string> </key>
<value>
<list>
<string>title</string>
<string>default</string>
<string>editable</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>listbox_destination_title</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>editable</string> </key>
<value> <string></string> </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>items</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>title</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_string_field</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Recipients</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:" / ".join(cell.getDestinationTitleList())</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_categories/activity/getCategoryChildTranslatedLogicalPathItemList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -96,6 +96,8 @@ ...@@ -96,6 +96,8 @@
<value> <value>
<list> <list>
<string>my_description</string> <string>my_description</string>
<string>my_aggregate_title_list</string>
<string>attachment_list</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -112,8 +114,7 @@ ...@@ -112,8 +114,7 @@
<string>my_title</string> <string>my_title</string>
<string>my_start_date</string> <string>my_start_date</string>
<string>portal_type</string> <string>portal_type</string>
<string>my_aggregate_title_list</string> <string>my_resource</string>
<string>attachment_list</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -121,7 +122,6 @@ ...@@ -121,7 +122,6 @@
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list> <list>
<string>my_resource</string>
<string>my_source_title</string> <string>my_source_title</string>
<string>my_destination_title_list</string> <string>my_destination_title_list</string>
<string>my_default_follow_up_title</string> <string>my_default_follow_up_title</string>
......
...@@ -15,9 +15,7 @@ ...@@ -15,9 +15,7 @@
<item> <item>
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list/>
<string>height</string>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -85,10 +83,6 @@ ...@@ -85,10 +83,6 @@
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value> <value> <string>Base_viewFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>height</string> </key>
<value> <int>3</int> </value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -166,9 +166,7 @@ ...@@ -166,9 +166,7 @@
</item> </item>
<item> <item>
<key> <string>height</string> </key> <key> <string>height</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
...@@ -193,7 +191,7 @@ ...@@ -193,7 +191,7 @@
<item> <item>
<key> <string>text_editor</string> </key> <key> <string>text_editor</string> </key>
<value> <value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value> </value>
</item> </item>
<item> <item>
...@@ -210,9 +208,7 @@ ...@@ -210,9 +208,7 @@
</item> </item>
<item> <item>
<key> <string>width</string> </key> <key> <string>width</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</value>
</item> </item>
</dictionary> </dictionary>
</value> </value>
...@@ -361,25 +357,6 @@ ...@@ -361,25 +357,6 @@
</pickle> </pickle>
</record> </record>
<record id="5" aka="AAAAAAAAAAU="> <record id="5" aka="AAAAAAAAAAU=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_preferences/getPreferredTextareaHeight</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <tuple>
...@@ -398,23 +375,4 @@ ...@@ -398,23 +375,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="7" aka="AAAAAAAAAAc=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>here/portal_preferences/getPreferredTextareaWidth</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
...@@ -75,6 +75,7 @@ ...@@ -75,6 +75,7 @@
<string>right</string> <string>right</string>
<string>center</string> <string>center</string>
<string>bottom</string> <string>bottom</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -96,6 +97,15 @@ ...@@ -96,6 +97,15 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>hidden</string> </key>
<value>
<list>
<string>listbox_delivery_start_date</string>
<string>listbox_delivery_stop_date</string>
</list>
</value>
</item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Events.</string> </value> <value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Campaigns.</string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Events.</string> </value> <value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Meetings.</string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Sale Opportunity Resources</string> </value> <value> <string>Meeting Resources</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Events.</string> </value> <value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Sales Opportunities.</string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Events.</string> </value> <value> <string>A list of relative URLs for the services to display in the "Nature" pop-up menu of Support Requests.</string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:map(lambda x: (x, here.Localizer.erp5_ui.gettext(x)), here.getPortalEventTypeList())</string> </value> <value> <string>python:map(lambda x: (here.Localizer.erp5_ui.gettext(x), x), here.getPortalEventTypeList())</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
74 73
\ No newline at end of file \ 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