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

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Apr 15 09:24:47 EDT 2004


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

Modified Files:
	index.pt 
Log Message:


Show the ZCML file and line where the view was defined.



Clean-up permission display.




=== Zope3/src/zope/app/apidoc/viewmodule/index.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/apidoc/viewmodule/index.pt:1.3	Mon Mar 29 00:12:30 2004
+++ Zope3/src/zope/app/apidoc/viewmodule/index.pt	Thu Apr 15 09:24:47 2004
@@ -17,6 +17,12 @@
     <ul>
       <li tal:repeat="View layer/views">
         <b tal:content="structure View/name" /><br />
+        <tal:omit-tag condition="View/info">
+          <span class="small">
+            <i tal:content="View/info" />
+          </span>
+          <br />
+        </tal:omit-tag>
         <div class="indent"><span class="small">
           <i>required:</i>
           <a href=""
@@ -65,13 +71,14 @@
                tal:content="View/factory/resource" />
             <br />
           </tal:omit-tag>
-          <span class="small" 
+          <span 
               tal:condition="python: View['read_perm'] and View['write_perm']">
             <i>Permissions:</i>
             <span tal:replace="View/read_perm">zope.View</span> (read), 
             <span tal:replace="View/write_perm">zope.View</span> (write)
           </span>
         </span></div>
+        <br />
       </li>
     </ul>
     </div>




More information about the Zope3-Checkins mailing list