Commit 0fe66f69 authored by Fabien Morin's avatar Fabien Morin

This bt is in work in progress, I commit the changes just to not loss all my...

This bt is in work in progress, I commit the changes just to not loss all my work if my computer leave me alone. So I have cleanup lot of things, but there is a lot that are not so clean. (will be soon).

lot of changes including:
- improve skin folder structure by adding erp5_egov_widget_library folder
- add a begin of user space (pending requests and documents)
- bring some changes on css files to have a better renderer
- move code parts : all things thats could be widgets have become widgets with th
eir own css file (it's easyer to understand in a development step)
- improve workflow by adding 2 new states (canceled and deleted)
- define some roles and set up security
- add 2 customs ListBox page templates
- remove a lot of backup or unused files

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19748 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cd5636bb
...@@ -70,18 +70,40 @@ ...@@ -70,18 +70,40 @@
</dictionary> </dictionary>
</value> </value>
</item> </item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_folder_handler</string> </key>
<value> <string>CMFBTreeFolderHandler</string> </value>
</item>
<item> <item>
<key> <string>_identity_criterion</string> </key> <key> <string>_identity_criterion</string> </key>
<value> <value>
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>_range_criterion</string> </key> <key> <string>_range_criterion</string> </key>
<value> <value>
<dictionary/> <dictionary/>
</value> </value>
</item> </item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
<item> <item>
<key> <string>container_layout</string> </key> <key> <string>container_layout</string> </key>
<value> <string>erp5_egov_workspace_layout</string> </value> <value> <string>erp5_egov_workspace_layout</string> </value>
...@@ -102,6 +124,10 @@ ...@@ -102,6 +124,10 @@
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>egov_portal</string> </value> <value> <string>egov_portal</string> </value>
</item> </item>
<item>
<key> <string>last_id</string> </key>
<value> <string>1</string> </value>
</item>
<item> <item>
<key> <string>portal_type</string> </key> <key> <string>portal_type</string> </key>
<value> <string>Web Site</string> </value> <value> <string>Web Site</string> </value>
...@@ -142,4 +168,26 @@ ...@@ -142,4 +168,26 @@
<dictionary/> <dictionary/>
</pickle> </pickle>
</record> </record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="OOBTree" module="BTrees._OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData> </ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string># Retrieve the edit action\n
"""\n
Special edit method which returns to view mode.\n
The view_document_url is used to define the URL to return to\n
after editing the document.\n
"""\n
\n
next_url_dict = {\n
\'DeclarationDeTVA_view\' : \'DeclarationTVA_viewAttachmentList\',\n
\'DeclarationTVA_viewAttachmentList\' : \'PDFDocument_viewLoginInformation\'\n
}\n
\n
successful_edit_redirect_url = \'%s/%s\' % (context.absolute_url(), form_id)\n
\n
return context.Base_edit(form_id=form_id, \n
selection_index=selection_index, \n
selection_name=selection_name, \n
dialog_id=dialog_id, \n
ignore_layout=ignore_layout, \n
editable_mode=editable_mode, \n
silent_mode=silent_mode, \n
field_prefix=field_prefix, \n
successful_edit_redirect_url=successful_edit_redirect_url)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>form_id, selection_index=0, selection_name=\'\', dialog_id=\'\', ignore_layout=0, editable_mode=1, silent_mode=0, field_prefix=\'my_\'</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>form_id</string>
<string>selection_index</string>
<string>selection_name</string>
<string>dialog_id</string>
<string>ignore_layout</string>
<string>editable_mode</string>
<string>silent_mode</string>
<string>field_prefix</string>
<string>next_url_dict</string>
<string>_getattr_</string>
<string>context</string>
<string>successful_edit_redirect_url</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>0</int>
<string></string>
<string></string>
<int>0</int>
<int>1</int>
<int>0</int>
<string>my_</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>EGov_Base_edit</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string># Retrieve the edit action\n
"""\n
Special edit method which returns to view mode.\n
The view_document_url is used to define the URL to return to\n
after editing the document.\n
"""\n
\n
next_url_dict = {\n
\'DeclarationDeTVA_view\' : \'DeclarationTVA_viewAttachmentList\',\n
\'DeclarationTVA_viewAttachmentList\' : \'PDFDocument_viewLoginInformation\'\n
}\n
\n
successful_edit_redirect_url = \'%s/%s\' % (context.absolute_url(), next_url_dict[form_id])\n
\n
# if the current step is DeclarationTVA_viewAttachmentList, the document must\n
# be submitted\n
if form_id == \'DeclarationTVA_viewAttachmentList\':\n
context.submit()\n
request=context.REQUEST\n
result = request[\'RESPONSE\'].redirect(successful_edit_redirect_url) \n
return result\n
\n
return context.Base_edit(form_id=form_id, \n
selection_index=selection_index, \n
selection_name=selection_name, \n
dialog_id=dialog_id, \n
ignore_layout=ignore_layout, \n
editable_mode=editable_mode, \n
silent_mode=silent_mode, \n
field_prefix=field_prefix, \n
successful_edit_redirect_url=successful_edit_redirect_url)\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>form_id, selection_index=0, selection_name=\'\', dialog_id=\'\', ignore_layout=0, editable_mode=1, silent_mode=0, field_prefix=\'my_\'</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>form_id</string>
<string>selection_index</string>
<string>selection_name</string>
<string>dialog_id</string>
<string>ignore_layout</string>
<string>editable_mode</string>
<string>silent_mode</string>
<string>field_prefix</string>
<string>next_url_dict</string>
<string>_getattr_</string>
<string>context</string>
<string>_getitem_</string>
<string>successful_edit_redirect_url</string>
<string>request</string>
<string>result</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<int>0</int>
<string></string>
<string></string>
<int>0</int>
<int>1</int>
<int>0</int>
<string>my_</string>
</tuple>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>EGov_Base_editAndNextStep</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string>document = context.portal_catalog.getResultValue(uid=new_request_number)\n
if document is not None:\n
if document.getValidationState() == \'draft\':\n
return document.Base_redirect(form_id=\'view\')\n
return document.Base_redirect(form_id=\'PDFDocument_viewHistory\')\n
\n
\n
# Prepare message\n
msg = "Sorry, this document is not available"\n
return context.Base_redirect(form_id=\'view\', keep_items = {\'portal_status_message\' : msg})\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>new_request_number</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>new_request_number</string>
<string>_getattr_</string>
<string>context</string>
<string>document</string>
<string>None</string>
<string>msg</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>EGov_goToDocument</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<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_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<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>_body</string> </key>
<value> <string>request=context.REQUEST\n
portal = context.getPortalObject()\n
\n
# get module url\n
absolute_url = portal.web_site_module.egov_portal.absolute_url()\n
\n
redirect_url = absolute_url\n
\n
result = request[\'RESPONSE\'].redirect(redirect_url) \n
return result\n
</string> </value>
</item>
<item>
<key> <string>_code</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>errors</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>func_code</string> </key>
<value>
<object>
<klass>
<global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>_getattr_</string>
<string>context</string>
<string>request</string>
<string>portal</string>
<string>absolute_url</string>
<string>redirect_url</string>
<string>_getitem_</string>
<string>result</string>
</tuple>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>func_defaults</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>EGov_goToHome</string> </value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -62,10 +62,12 @@ ...@@ -62,10 +62,12 @@
<key> <string>group_list</string> </key> <key> <string>group_list</string> </key>
<value> <value>
<list> <list>
<string>new_request (New Request)</string> <string>tools</string>
<string>track_request (Track Request)</string> <string>vip_space</string>
<string>widget_space</string>
<string>authenticate</string> <string>authenticate</string>
<string>upload</string> <string>upload</string>
<string>hidden</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -80,22 +82,26 @@ ...@@ -80,22 +82,26 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>new_request (New Request)</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list> <list>
<string>new_request_group</string> <string>new_request_group</string>
<string>new_request_portal_type</string> <string>new_request_portal_type</string>
<string>new_request_submit</string> <string>new_request_submit</string>
<string>track_request_user</string>
<string>track_request_login</string>
<string>track_request_submit</string>
<string>home_page</string>
<string>pending_requests</string>
<string>listbox_creation_date</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>track_request (Track Request)</string> </key> <key> <string>tools</string> </key>
<value> <value>
<list> <list>
<string>track_request_user</string> <string>tools_tab</string>
<string>track_request_login</string>
<string>track_request_submit</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -105,6 +111,23 @@ ...@@ -105,6 +111,23 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>vip_space</string> </key>
<value>
<list>
<string>become_vip</string>
</list>
</value>
</item>
<item>
<key> <string>widget_space</string> </key>
<value>
<list>
<string>listbox</string>
<string>my_documents</string>
</list>
</value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>admin_toolbox</string> </value> <value> <string>become_vip</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -100,6 +100,10 @@ ...@@ -100,6 +100,10 @@
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>text_editor</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -183,6 +187,10 @@ ...@@ -183,6 +187,10 @@
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>text_editor</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -212,7 +220,7 @@ ...@@ -212,7 +220,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string>adminToolbox</string> </value> <value> <string>hidden_label</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -220,7 +228,7 @@ ...@@ -220,7 +228,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string></string> </value> <value> <string>this widget promote inscription procedure</string> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
...@@ -228,7 +236,7 @@ ...@@ -228,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -268,7 +276,7 @@ ...@@ -268,7 +276,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Admin</string> </value> <value> <string>Become VIP</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
...@@ -291,18 +299,15 @@ ...@@ -291,18 +299,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>here/admin_toolbox</string> </value> <value> <string>here/WebSite_viewBecomeVipRenderer</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
...@@ -310,18 +315,15 @@ ...@@ -310,18 +315,15 @@
<record id="3" aka="AAAAAAAAAAM="> <record id="3" aka="AAAAAAAAAAM=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>not: here/portal_membership/isAnonymousUser</string> </value> <value> <string>here/portal_membership/isAnonymousUser</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>breadcrumb</string> </value> <value> <string>home_page</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -100,6 +100,10 @@ ...@@ -100,6 +100,10 @@
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>text_editor</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -181,6 +185,10 @@ ...@@ -181,6 +185,10 @@
<key> <string>required</string> </key> <key> <string>required</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>text_editor</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
...@@ -210,7 +218,7 @@ ...@@ -210,7 +218,7 @@
</item> </item>
<item> <item>
<key> <string>css_class</string> </key> <key> <string>css_class</string> </key>
<value> <string>hiddenLabel</string> </value> <value> <string>hidden_label</string> </value>
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
...@@ -226,7 +234,7 @@ ...@@ -226,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>0</int> </value> <value> <int>1</int> </value>
</item> </item>
<item> <item>
<key> <string>external_validator</string> </key> <key> <string>external_validator</string> </key>
...@@ -266,7 +274,7 @@ ...@@ -266,7 +274,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Breadcrumb</string> </value> <value> <string>home_page</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
...@@ -289,18 +297,15 @@ ...@@ -289,18 +297,15 @@
<record id="2" aka="AAAAAAAAAAI="> <record id="2" aka="AAAAAAAAAAI=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="TALESMethod" module="Products.Formulator.TALESField"/>
<string>Products.Formulator.TALESField</string> <tuple/>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>here/breadcrumb</string> </value> <value> <string>here/WebSite_viewWorkspaceWidget</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -111,7 +111,9 @@ li {margin-left: 1em}\n ...@@ -111,7 +111,9 @@ li {margin-left: 1em}\n
\n \n
.doNotDisplay {display: none}\n .doNotDisplay {display: none}\n
\n \n
.hiddenLabel label {display: none}\n .hidden_label label { \n
display: none !important\n
}\n
\n \n
table {\n table {\n
border-collapse: collapse;\n border-collapse: collapse;\n
......
...@@ -73,6 +73,23 @@ ...@@ -73,6 +73,23 @@
========================================================================================*/\n ========================================================================================*/\n
\n \n
<tal:block tal:replace="structure python:here.getPortalObject()[\'erp5_web_editable_content.css\']()"/>\n <tal:block tal:replace="structure python:here.getPortalObject()[\'erp5_web_editable_content.css\']()"/>\n
div.bottom_actions {\n
display: none;\n
}\n
\n
/* hide action_select widget */\n
.header .widget .adminSection {\n
display: none;\n
}\n
\n
/* remove margin on input fieldsets */\n
div#main_content fieldset div.input {\n
margin:0;\n
}\n
\n
div#main_content fieldset{\n
padding: 0;\n
}\n
]]></string> </value> ]]></string> </value>
......
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
<string>right column (Demo)</string> <string>right column (Demo)</string>
<string>right column (Toolbox)</string> <string>right column (Toolbox)</string>
<string>footer</string> <string>footer</string>
<string>header</string>
<string>hidden</string> <string>hidden</string>
</list> </list>
</value> </value>
...@@ -82,10 +83,20 @@ ...@@ -82,10 +83,20 @@
<key> <string>footer</string> </key> <key> <string>footer</string> </key>
<value> <value>
<list> <list>
<string>next_step</string>
<string>form_submission_wizard</string> <string>form_submission_wizard</string>
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>header</string> </key>
<value>
<list>
<string>header_section</string>
<string>action_select</string>
</list>
</value>
</item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
...@@ -162,7 +173,7 @@ ...@@ -162,7 +173,7 @@
</item> </item>
<item> <item>
<key> <string>pt</string> </key> <key> <string>pt</string> </key>
<value> <string>template_erp5_egov</string> </value> <value> <string>workspace_template_erp5_egov</string> </value>
</item> </item>
<item> <item>
<key> <string>row_length</string> </key> <key> <string>row_length</string> </key>
......
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
</item> </item>
<item> <item>
<key> <string>actbox_name</string> </key> <key> <string>actbox_name</string> </key>
<value> <string></string> </value> <value> <string>Open</string> </value>
</item> </item>
<item> <item>
<key> <string>actbox_url</string> </key> <key> <string>actbox_url</string> </key>
<value> <string></string> </value> <value> <string>%(content_url)s/Base_viewWorkflowActionDialog?workflow_action=open_action</string> </value>
</item> </item>
<item> <item>
<key> <string>after_script_name</string> </key> <key> <string>after_script_name</string> </key>
<value> <string></string> </value> <value> <string>open</string> </value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string></string> </value> <value> <string>Open</string> </value>
</item> </item>
<item> <item>
<key> <string>trigger_type</string> </key> <key> <string>trigger_type</string> </key>
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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