[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - template.pt:1.28

Roger Ineichen roger@projekt01.ch
Mon, 23 Jun 2003 07:07:48 -0400


Update of /cvs-repository/Zope3/src/zope/app/browser/skins/rotterdam
In directory cvs.zope.org:/tmp/cvs-serv18928

Modified Files:
	template.pt 
Log Message:
Improved help box to show a structured tree of help toplics instead of list.

=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.27 => 1.28 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.27	Wed May 21 08:33:53 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Mon Jun 23 07:07:47 2003
@@ -167,19 +167,14 @@
               </div>
             </div>
 
+            <!-- Tree of the help topics that appears on the help namespace -->
             <div class="box" id="help"
-                tal:define="results view/@@find_help_topics|nothing"
-                tal:condition="results">
-              <h4>Online Help</h4>
+                 tal:define="tree view/getTopicTree|nothing"
+                 tal:condition="tree">
+              <h4>Online Help</h4>              
               <div class="body">
-                <a href="#"
-                    tal:repeat="entry results"
-                            tal:attributes="href entry/url">
-                  <div tal:define="oddrow repeat/entry/odd"
-                      tal:attributes="class python:oddrow and 'even' or 'odd'"
-                      tal:content="entry/topic/title">Topic Title
-                  </div>
-                </a>
+                <div tal:content="structure tree"
+                     tal:omit-tag="">content of topicTree</div>
               </div>
             </div>