From b74e8a51489004b6b7806de35ea60ba2c05f696e Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Fri, 10 Apr 2009 15:30:22 +0000
Subject: [PATCH] * improve a bit css to have better rendering of listbox in
 search style * add a alt attribute to be valid

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26398 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...Gadget_viewPrettyHTMLDescriptionRenderer.xml |  1 +
 .../erp5_knowledge_box.css.xml                  | 17 ++++++++++++++---
 bt5/erp5_knowledge_pad/bt/revision              |  2 +-
 3 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Gadget_viewPrettyHTMLDescriptionRenderer.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Gadget_viewPrettyHTMLDescriptionRenderer.xml
index 0a285cada4..e765ddd69e 100644
--- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Gadget_viewPrettyHTMLDescriptionRenderer.xml
+++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/Gadget_viewPrettyHTMLDescriptionRenderer.xml
@@ -50,6 +50,7 @@
     <h4 i18n:translate="" tal:content="cell/getTitle"/>\n
   \n
     <img tal:condition="image_id"\n
+        alt="gadget screenshot"\n
         tal:attributes="src python:\'%s/%s\' \n
                                     %(gadget.absolute_url(), image_id)"/>\n
     <p i18n:translate="" tal:content="cell/getDescription"/>\n
diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml
index 5be7a9cebc..875f57cd9d 100644
--- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml
+++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_knowledge_pad/erp5_knowledge_box.css.xml
@@ -15,7 +15,7 @@
         </item>
         <item>
             <key> <string>_EtagSupport__etag</string> </key>
-            <value> <string>ts36808113.24</string> </value>
+            <value> <string>ts39376843.32</string> </value>
         </item>
         <item>
             <key> <string>__name__</string> </key>
@@ -315,6 +315,16 @@ div.block table.listbox{\n
   border:medium none!important;\n
   margin:0em!important;\n
 }\n
+.box_inner_content .input,\n
+.box_inner_content .search.result .resultList{\n
+  width:100%!important;\n
+  margin:0em!important;\n
+  padding:0em!important;\n
+}\n
+\n
+.box_inner_content .search.result .extendedSearchBar{\n
+  display:none;\n
+}\n
 \n
 div.block table.listbox .right{\n
   float:right;\n
@@ -566,7 +576,8 @@ div.block div.worklist_list ul li table.listbox thead td,div.block div.worklist_
 \n
 div.block div.worklist_list ul li a:hover{\n
   text-decoration:none;\n
-}</string> </value>
+}\n
+</string> </value>
         </item>
         <item>
             <key> <string>precondition</string> </key>
@@ -574,7 +585,7 @@ div.block div.worklist_list ul li a:hover{\n
         </item>
         <item>
             <key> <string>size</string> </key>
-            <value> <int>9223</int> </value>
+            <value> <long>9446</long> </value>
         </item>
         <item>
             <key> <string>title</string> </key>
diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision
index 6d540e9f23..e41567feb8 100644
--- a/bt5/erp5_knowledge_pad/bt/revision
+++ b/bt5/erp5_knowledge_pad/bt/revision
@@ -1 +1 @@
-382
\ No newline at end of file
+384
\ No newline at end of file
-- 
2.30.9