From 3b0db9fcabd4fa0dccfd2338819f4bf31044e182 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Tue, 27 May 2008 08:01:25 +0000
Subject: [PATCH] default priority value displayed on a System Preference is 1

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21161 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_core/SystemPreference_view/my_priority.xml    | 10 +++++-----
 product/ERP5/bootstrap/erp5_core/bt/revision           |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SystemPreference_view/my_priority.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SystemPreference_view/my_priority.xml
index 3aada45bc5..2938a3670d 100644
--- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SystemPreference_view/my_priority.xml
+++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/SystemPreference_view/my_priority.xml
@@ -127,7 +127,9 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string></string> </value>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
                 </item>
                 <item>
                     <key> <string>description</string> </key>
@@ -135,9 +137,7 @@
                 </item>
                 <item>
                     <key> <string>editable</string> </key>
-                    <value>
-                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-                    </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
@@ -283,7 +283,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:here.getPortalObject().portal_membership.checkPermission("Manage portal", here)</string> </value>
+            <value> <string>python: here.getPriority(1)</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision
index d062eec37b..189296e610 100644
--- a/product/ERP5/bootstrap/erp5_core/bt/revision
+++ b/product/ERP5/bootstrap/erp5_core/bt/revision
@@ -1 +1 @@
-823
\ No newline at end of file
+825
\ No newline at end of file
-- 
2.30.9