From 8f9c46ca9e1b094ca9ffa6eef99385eee280e1d5 Mon Sep 17 00:00:00 2001
From: Ivan Tyagov <ivan@nexedi.com>
Date: Tue, 1 Jun 2010 12:15:28 +0000
Subject: [PATCH] Set meaningful CSS ID selector so we can address them (for
 styling or / and UI testing) easier.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35860 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../WebSection_viewToolbarWidget.xml                      | 8 ++++----
 bt5/erp5_web/bt/revision                                  | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
index 4450f98420..16f99f7058 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSection_viewToolbarWidget.xml
@@ -59,7 +59,7 @@
               portal_type  here/getPortalType">\n
 <ul>\n
   <!-- Edit button menu -->\n
-  <li class="toolboxSection">\n
+  <li class="toolboxSection" id="edit-document-toolbox">\n
     <h3 class="menu_title" i18n:translate="" i18n:domain="ui">Edit</h3>\n
     <div class="menu">\n
       <ul tal:define="edit_link_list python: here.Base_getAdminToolboxEditShortcutList()">\n
@@ -85,7 +85,7 @@
 \n
        XXX - the location of context_box_render is hardcoded.\n
   -->\n
-  <li class="toolboxSection">\n
+  <li class="toolboxSection" id="action-document-toolbox">\n
     <h3 class="menu_title"><tal:block tal:content="portal_type"/> Actions</h3>\n
     <div class="menu">\n
       <label i18n:translate="" i18n:domain="ui">Add</label>\n
@@ -172,7 +172,7 @@
        XXX - This is not so good to create new content in a section\n
              Behaviour should be to create content in section / site\n
   -->\n
-  <li class="toolboxSection"\n
+  <li class="toolboxSection" id="clone-document-toolbox"\n
        tal:condition="python:here.isDocument">\n
     <h3 class="menu_title">\n
       <span id="create_new_document_title"></span>\n
@@ -295,7 +295,7 @@
   <!-- Module panel.\n
        Some modules that should be useful for web management will be listed.\n
   -->\n
-  <li class="toolboxSection">\n
+  <li class="toolboxSection" id="select-module-toolbox">\n
     <h3 class="menu_title" i18n:translate="" i18n:domain="ui">Module</h3>\n
     <div class="menu">\n
       <ul>\n
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index b7cbeb8bd6..71ed48c5f3 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-953
\ No newline at end of file
+954
\ No newline at end of file
-- 
2.30.9