[Zope3-checkins] CVS: Zope3/src/zope/app/browser - introspector.pt:1.12

Anthony Baxter anthony at interlink.com.au
Sat Feb 7 03:58:46 EST 2004


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

Modified Files:
	introspector.pt 
Log Message:
classBrowser now hooks into the far more useful ++apidoc++.


=== Zope3/src/zope/app/browser/introspector.pt 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/introspector.pt:1.11	Thu Oct 30 16:27:20 2003
+++ Zope3/src/zope/app/browser/introspector.pt	Sat Feb  7 03:58:45 2004
@@ -125,8 +125,12 @@
           <th class="introspector">
             <tal:span i18n:translate="class-component">Class</tal:span>:
           </th>
-          <td><span tal:replace="introspector/getModule">Module</span
-            >.<span tal:replace="introspector/getClass">Name</span></td>
+          <td><a tal:attributes="href 
+                string: /++apidoc++/Class/index.html?path=${introspector/getModule}.${introspector/getClass}" 
+                href="">
+            <span tal:replace="introspector/getModule">Module</span
+            >.<span tal:replace="introspector/getClass">Name</span></a></td>
+
         </tr>
 
         <tr>
@@ -135,12 +139,9 @@
           </th>
           <td>
             <div tal:repeat="base introspector/getBaseClassNames">
-              <span tal:replace="repeat/base/item" />
-              <!--
-                <a href=""
-                   tal:attributes="href string: ++module++${repeat/base/item}"
-                   tal:content="repeat/base/item">Base</a>
-               -->
+              <a tal:attributes="href 
+                string: /++apidoc++/Class/index.html?path=${repeat/base/item}" 
+                href=""><span tal:replace="repeat/base/item" /></a>
             </div>
           </td>
         </tr>
@@ -162,7 +163,7 @@
           </th>
           <td>
             <div tal:repeat="interface introspector/getInterfaceNames">
-              <div tal:define="url python: view.getInterfaceURL(interface)">
+              <div tal:define="url string: /++apidoc++/Class/index.html?path=${interface}">
                 <a href=""
                     tal:attributes="href url"
                     tal:content="interface"




More information about the Zope3-Checkins mailing list