From 5b3ece4ec20a51a71ae13e0e4c036f6304416eff Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Wed, 20 Feb 2008 17:14:00 +0000
Subject: [PATCH] Add a link to the first level of web sections

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

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSearchRenderer.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSearchRenderer.xml
index 5fa3eda6c0..3fe8b5008a 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSearchRenderer.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_widget_library/WebSite_viewSearchRenderer.xml
@@ -107,8 +107,11 @@ Description:\n
     <div style="width:50%;float:left;" class="tabbertabcont">\n
       <tal:block tal:repeat="section python:section_list[0:half_count]">\n
         <ul>\n
-          <li value="" i18n:translate=""\n
-              i18n:domain="ui" tal:content="section/getTitle">Departments and Divisions:</li>\n
+          <li>\n
+            <a i18n:translate="" i18n:domain="ui" \n
+               tal:content="section/getTitle"\n
+               tal:attributes="href section/absolute_url"/>\n
+          </li>\n
           <ul>\n
             <li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
               <a    tal:content="root_section/getTitle"\n
@@ -133,8 +136,11 @@ Description:\n
     <div style="width:50%;float:right;" class="tabbertabcont">\n
       <tal:block tal:repeat="section python:section_list[half_count:]">\n
         <ul>\n
-          <li value="" i18n:translate=""\n
-              i18n:domain="ui" tal:content="section/getTitle">Departments and Divisions:</li>\n
+          <li>\n
+            <a i18n:translate="" i18n:domain="ui" \n
+               tal:content="section/getTitle"\n
+               tal:attributes="href section/absolute_url"/>\n
+          </li>\n
           <ul>\n
             <li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
               <a    tal:content="root_section/getTitle"\n
diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision
index 236c7c706d..823aeb4b44 100644
--- a/bt5/erp5_web/bt/revision
+++ b/bt5/erp5_web/bt/revision
@@ -1 +1 @@
-623
\ No newline at end of file
+624
\ No newline at end of file
-- 
2.30.9