[Zope3-checkins] CVS: Zope3/src/zope/app/browser/skins/rotterdam - configure.zcml:1.12 template.pt:1.21 zope3.css:1.17

Godefroid Chapelle gotcha@swing.be
Fri, 11 Apr 2003 18:16:17 -0400


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

Modified Files:
	configure.zcml template.pt zope3.css 
Log Message:
- added usage argument to ZCML menu directive
  The menu usage is used by the configuration to initialize 
  the page view usage in case a page is registered as a
  menu item included in a menu declared with a usage argument.

- added corresponding tests

- various ZCML refactorings to improve usage initialization

- added tests for menu and usage on page directive



=== Zope3/src/zope/app/browser/skins/rotterdam/configure.zcml 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/configure.zcml:1.11	Thu Apr 10 05:34:29 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/configure.zcml	Fri Apr 11 18:15:46 2003
@@ -81,7 +81,8 @@
     permission="zope.ManageContent"
     layer="rotterdam"
     class="zope.app.browser.container.contents.Contents"
-    template="folder_contents.pt" 
+    template="folder_contents.pt"
+    usage="objectview"
     />
 
 <browser:page


=== Zope3/src/zope/app/browser/skins/rotterdam/template.pt 1.20 => 1.21 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/template.pt:1.20	Thu Apr 10 05:34:29 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/template.pt	Fri Apr 11 18:15:46 2003
@@ -48,7 +48,8 @@
 	  <tal:block replace="request/user/getTitle">
             User
           </tal:block>
-        </metal:block>  
+        </metal:block> 
+        <span tal:content="string:Usage $usage" />  
       </div>
       <img tal:attributes="src context/++resource++zope3logo.gif" />
     </div>


=== Zope3/src/zope/app/browser/skins/rotterdam/zope3.css 1.16 => 1.17 ===
--- Zope3/src/zope/app/browser/skins/rotterdam/zope3.css:1.16	Thu Apr 10 05:34:29 2003
+++ Zope3/src/zope/app/browser/skins/rotterdam/zope3.css	Fri Apr 11 18:15:46 2003
@@ -341,6 +341,7 @@
     width: 100px;
     text-align: right;
     margin-right: 0.8em;
+    font-weight: bold;
 }
 # XXX someone please come and do this properly
 div.row div.field {