diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml index e8e4ef473566b52d7aa71ea11cd01660d86b031c..bca177ca6a0c96d57e7565edc053eedf744b76f7 100644 --- a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryModule_viewGlossaryTermList/listbox.xml @@ -19,6 +19,7 @@ <string>search_columns</string> <string>sort_columns</string> <string>sort</string> + <string>list_method</string> <string>selection_name</string> <string>portal_types</string> <string>anchor</string> @@ -85,7 +86,7 @@ <value> <dictionary> <item> - <key> <string>all_columns</string> </key> + <key> <string>all_columns</string> </key> <value> <list> <tuple> @@ -116,11 +117,11 @@ </value> </item> <item> - <key> <string>anchor</string> </key> + <key> <string>anchor</string> </key> <value> <int>0</int> </value> </item> <item> - <key> <string>columns</string> </key> + <key> <string>columns</string> </key> <value> <list> <tuple> @@ -143,6 +144,10 @@ <string>description</string> <string>Description</string> </tuple> + <tuple> + <string>GlossaryTerm_viewHeadOfComment</string> + <string>Comment</string> + </tuple> <tuple> <string>translated_validation_state_title</string> <string>State</string> @@ -151,7 +156,7 @@ </value> </item> <item> - <key> <string>domain_root_list</string> </key> + <key> <string>domain_root_list</string> </key> <value> <list> <tuple> @@ -166,7 +171,7 @@ </value> </item> <item> - <key> <string>domain_tree</string> </key> + <key> <string>domain_tree</string> </key> <value> <int>1</int> </value> </item> <item> @@ -178,7 +183,13 @@ <value> <string>Base_viewFieldLibrary</string> </value> </item> <item> - <key> <string>portal_types</string> </key> + <key> <string>list_method</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> + <item> + <key> <string>portal_types</string> </key> <value> <list> <tuple> @@ -189,7 +200,7 @@ </value> </item> <item> - <key> <string>search_columns</string> </key> + <key> <string>search_columns</string> </key> <value> <list> <tuple> @@ -220,11 +231,11 @@ </value> </item> <item> - <key> <string>selection_name</string> </key> + <key> <string>selection_name</string> </key> <value> <string>glossary_module_selection</string> </value> </item> <item> - <key> <string>sort</string> </key> + <key> <string>sort</string> </key> <value> <list> <tuple> @@ -235,7 +246,7 @@ </value> </item> <item> - <key> <string>sort_columns</string> </key> + <key> <string>sort_columns</string> </key> <value> <list> <tuple> @@ -270,7 +281,7 @@ <value> <string>Click to edit the target</string> </value> </item> <item> - <key> <string>title</string> </key> + <key> <string>title</string> </key> <value> <string>Terms</string> </value> </item> </dictionary> @@ -279,4 +290,20 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="Method" module="Products.Formulator.MethodField"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>method_name</string> </key> + <value> <string>searchFolder</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_viewHeadOfComment.xml b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_viewHeadOfComment.xml new file mode 100644 index 0000000000000000000000000000000000000000..4f7159ce4246eb01989958f3f9d89a2fcb5ae3df --- /dev/null +++ b/bt5/erp5_forge/SkinTemplateItem/portal_skins/erp5_glossary/GlossaryTerm_viewHeadOfComment.xml @@ -0,0 +1,145 @@ +<?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>LENGTH = 50\n +comment = context.getProperty(\'comment\') or \'\'\n +return comment[:LENGTH]\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>LENGTH</string> + <string>_getattr_</string> + <string>context</string> + <string>comment</string> + <string>_getitem_</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>GlossaryTerm_viewHeadOfComment</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_forge/bt/change_log b/bt5/erp5_forge/bt/change_log index 68a905868cc8e0715632ba963eda976766571ad3..5978dc877d9b23eeb70a6a197c434949ed120be3 100644 --- a/bt5/erp5_forge/bt/change_log +++ b/bt5/erp5_forge/bt/change_log @@ -1,3 +1,6 @@ +2008-06-04 yusei +* Add comment column in the glossary module listbox. + 2008-06-03 * Add seurity to manager in the bug_workflow for Cancelled, Draft, Open and Closed state. diff --git a/bt5/erp5_forge/bt/revision b/bt5/erp5_forge/bt/revision index 34578cc4c5ec458b4ad2ee89f52cfe58fa308f03..eaea6f59715638e11200d8bdb771e0280f482354 100644 --- a/bt5/erp5_forge/bt/revision +++ b/bt5/erp5_forge/bt/revision @@ -1 +1 @@ -239 \ No newline at end of file +240 \ No newline at end of file