From cdaf9a0c14241525fd440a61bbf45f012ae029fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 21 Jul 2008 10:09:03 +0000 Subject: [PATCH] the "better implementation" from r22465 has been implemented in 22476, this is no longuer necessary git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22583 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_crm/Event_viewFieldLibrary/my_text_content.xml | 6 +++--- bt5/erp5_crm/bt/revision | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_text_content.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_text_content.xml index ea22f45cd7..47519181d1 100644 --- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_text_content.xml +++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewFieldLibrary/my_text_content.xml @@ -307,7 +307,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:((here.hasFile() and here.getSimulationState() not in (\'draft\', \'outgoing\', \'pending\')) and \'page\') or \'\'</string> </value> + <value> <string>python:(here.hasFile() and \'page\') or \'\'</string> </value> </item> </dictionary> </pickle> @@ -323,7 +323,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:here.Event_getTextContentCorrespondToFormat(editable=(not here.hasFile() or here.getSimulationState() in (\'draft\', \'outgoing\', \'pending\')))</string> </value> + <value> <string>python:here.Event_getTextContentCorrespondToFormat(editable=not here.hasFile())</string> </value> </item> </dictionary> </pickle> @@ -339,7 +339,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:not here.hasFile() or here.getSimulationState() in (\'draft\', \'outgoing\', \'pending\')</string> </value> + <value> <string>not:here/hasFile</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision index 8975db9a05..65de5029b4 100644 --- a/bt5/erp5_crm/bt/revision +++ b/bt5/erp5_crm/bt/revision @@ -1 +1 @@ -293 \ No newline at end of file +294 \ No newline at end of file -- 2.30.9