[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/apidoc/viewmodule/index.pt Marius pointed out that views have only read permissions, so why show

Stephan Richter srichter at cosmos.phy.tufts.edu
Fri Jul 16 08:13:13 EDT 2004


Log message for revision 26578:
  Marius pointed out that views have only read permissions, so why show 
  the write permission as well? No need.
  
  Thanks for the valuable input, Marius!
  


Changed:
  U   Zope3/trunk/src/zope/app/apidoc/viewmodule/index.pt


-=-
Modified: Zope3/trunk/src/zope/app/apidoc/viewmodule/index.pt
===================================================================
--- Zope3/trunk/src/zope/app/apidoc/viewmodule/index.pt	2004-07-16 11:50:57 UTC (rev 26577)
+++ Zope3/trunk/src/zope/app/apidoc/viewmodule/index.pt	2004-07-16 12:13:13 UTC (rev 26578)
@@ -73,10 +73,9 @@
             <br />
           </tal:omit-tag>
           <span 
-              tal:condition="python: View['read_perm'] and View['write_perm']">
-            <i i18n:translate="">Permissions:</i>
-            <span tal:replace="View/read_perm">zope.View</span> (read), 
-            <span tal:replace="View/write_perm">zope.View</span> (write)
+              tal:condition="View/read_perm">
+            <i i18n:translate="">Permission:</i>
+            <span tal:replace="View/read_perm">zope.View</span>
           </span>
         </span></div>
         <br />



More information about the Zope3-Checkins mailing list