[Zope3-checkins] CVS: Zope3/src/zope/app/apidoc/viewmodule - index.pt:1.3

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 29 00:12:30 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/apidoc/viewmodule
In directory cvs.zope.org:/tmp/cvs-serv30289/src/zope/app/apidoc/viewmodule

Modified Files:
	index.pt 
Log Message:


Add support for showing the view's 'provided' interface.



If the view has no name, it now says 'no name' instead of being blank.




=== Zope3/src/zope/app/apidoc/viewmodule/index.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/apidoc/viewmodule/index.pt:1.2	Sun Mar 28 18:41:59 2004
+++ Zope3/src/zope/app/apidoc/viewmodule/index.pt	Mon Mar 29 00:12:30 2004
@@ -16,7 +16,7 @@
     <div class="indent">
     <ul>
       <li tal:repeat="View layer/views">
-        <b tal:content="View/name" /><br />
+        <b tal:content="structure View/name" /><br />
         <div class="indent"><span class="small">
           <i>required:</i>
           <a href=""
@@ -42,6 +42,14 @@
             <span
                tal:condition="not:View/factory/referencable"
                tal:content="View/factory/path" />
+            <br />
+          </tal:omit-tag>
+          <tal:omit-tag condition="View/provided">
+            <i>provided:</i>
+            <a href=""
+               tal:attributes="href 
+                   string: ../Interface/${View/provided}/apiindex.html"
+               tal:content="View/provided" />
             <br />
           </tal:omit-tag>
           <tal:omit-tag condition="View/factory/template">




More information about the Zope3-Checkins mailing list