provide body macro declaration for Lobo skin and other minor improvements
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@4211 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									6aa174b494
								
							
						
					
					
						commit
						829b271150
					
				
					 3 changed files with 11 additions and 1 deletions
				
			
		|  | @ -431,6 +431,9 @@ class BaseView(GenericView, I18NView): | ||||||
|     def renderedDescription(self): |     def renderedDescription(self): | ||||||
|         return self.renderDescription() |         return self.renderDescription() | ||||||
| 
 | 
 | ||||||
|  |     def getObjectForUid(self, uid): | ||||||
|  |         return util.getObjectForUid(uid) | ||||||
|  | 
 | ||||||
|     # type listings |     # type listings | ||||||
| 
 | 
 | ||||||
|     def listTypes(self, include=None, exclude=None, sortOn='title'): |     def listTypes(self, include=None, exclude=None, sortOn='title'): | ||||||
|  |  | ||||||
|  | @ -336,7 +336,9 @@ class NodeView(BaseView): | ||||||
|             if ht not in parts: |             if ht not in parts: | ||||||
|                 parts.append(ht) |                 parts.append(ht) | ||||||
|         if len(parts) < 2: |         if len(parts) < 2: | ||||||
|             parts.append(super(NodeView, self).headTitle) |             ht = super(NodeView, self).headTitle | ||||||
|  |             if ht not in parts: | ||||||
|  |                 parts.append(ht) | ||||||
|         return ' - ' .join(parts) |         return ' - ' .join(parts) | ||||||
| 
 | 
 | ||||||
|     @Lazy |     @Lazy | ||||||
|  |  | ||||||
|  | @ -38,6 +38,11 @@ | ||||||
|         permission="zope.View" |         permission="zope.View" | ||||||
|         layer="loops.browser.skin.Lobo" /> |         layer="loops.browser.skin.Lobo" /> | ||||||
| 
 | 
 | ||||||
|  |   <page for="*" | ||||||
|  |         name="lobo.body_macros" | ||||||
|  |         template="lobo/body.pt" | ||||||
|  |         permission="zope.Public" /> | ||||||
|  | 
 | ||||||
|   <resource name="loops.css" file="lobo/lobo.css" |   <resource name="loops.css" file="lobo/lobo.css" | ||||||
|             layer="loops.browser.skin.Lobo" /> |             layer="loops.browser.skin.Lobo" /> | ||||||
|   <resource name="print.css" file="lobo/print.css" |   <resource name="print.css" file="lobo/print.css" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm