r252715 - in atreal.layouts/trunk/atreal/layouts: . browser profiles/custom_document_by_line profiles/document_by_line

"Florent MICHON" <svn-changes-z4DKO/[email protected]> Mon, 16 Dec 2013 15:25:57 +0000 (UTC)
Newsgroups gmane.comp.web.zope.plone.collective.cvs
Message-ID <[email protected]>
Author: f10w
Date: Mon Dec 16 15:25:57 2013
New Revision: 252715

Added:
   atreal.layouts/trunk/atreal/layouts/browser/document_by_line.pt
      - copied unchanged from r252714, atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.pt
   atreal.layouts/trunk/atreal/layouts/browser/document_by_line.py
      - copied, changed from r252714, atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.py
   atreal.layouts/trunk/atreal/layouts/profiles/document_by_line/
      - copied from r252714, atreal.layouts/trunk/atreal/layouts/profiles/custom_document_by_line/
Removed:
   atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.pt
   atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.py
   atreal.layouts/trunk/atreal/layouts/profiles/custom_document_by_line/
Modified:
   atreal.layouts/trunk/atreal/layouts/browser/configure.zcml
   atreal.layouts/trunk/atreal/layouts/configure.zcml
   atreal.layouts/trunk/atreal/layouts/interfaces.py
   atreal.layouts/trunk/atreal/layouts/profiles/document_by_line/browserlayer.xml
Log:
Rename custom_document_by_line to document_by_line


Modified: atreal.layouts/trunk/atreal/layouts/browser/configure.zcml
==============================================================================
--- atreal.layouts/trunk/atreal/layouts/browser/configure.zcml	(original)
+++ atreal.layouts/trunk/atreal/layouts/browser/configure.zcml	Mon Dec 16 15:25:57 2013
@@ -56,21 +56,21 @@
 
     <!-- Provide a custom document by line viewlet with *real* modification info -->
     <adapter for="Products.ATContentTypes.interface.interfaces.IATContentType"
-       factory=".custom_document_by_line.ModificationLister"
-       provides=".custom_document_by_line.IModificationLister" />
+       factory=".document_by_line.ModificationLister"
+       provides=".document_by_line.IModificationLister" />
 
     <subscriber
         for="Products.ATContentTypes.interface.interfaces.IATContentType
              Products.Archetypes.interfaces.IObjectEditedEvent"
-        handler=".custom_document_by_line.modificationNotifier"
+        handler=".document_by_line.modificationNotifier"
         />
 
     <browser:viewlet
         name="atreal.layouts.documentbyline"
         manager="plone.app.layout.viewlets.interfaces.IBelowContentTitle"
-        class=".custom_document_by_line.CustomDocumentByLineViewlet"
+        class=".document_by_line.CustomDocumentByLineViewlet"
         permission="zope2.View"
-        layer="atreal.layouts.interfaces.ICustomDocumentByLineLayer"
+        layer="atreal.layouts.interfaces.IDocumentByLineLayer"
         />
     <!-- -->
 

Copied: atreal.layouts/trunk/atreal/layouts/browser/document_by_line.py (from r252714, atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.py)
==============================================================================
--- atreal.layouts/trunk/atreal/layouts/browser/custom_document_by_line.py	(original)
+++ atreal.layouts/trunk/atreal/layouts/browser/document_by_line.py	Mon Dec 16 15:25:57 2013
@@ -68,7 +68,7 @@
 
 class CustomDocumentByLineViewlet(DocumentBylineViewlet):
 
-    index = ViewPageTemplateFile("custom_document_by_line.pt")
+    index = ViewPageTemplateFile("document_by_line.pt")
 
     def update(self):
         DocumentBylineViewlet.update(self)

Modified: atreal.layouts/trunk/atreal/layouts/configure.zcml
==============================================================================
--- atreal.layouts/trunk/atreal/layouts/configure.zcml	(original)
+++ atreal.layouts/trunk/atreal/layouts/configure.zcml	Mon Dec 16 15:25:57 2013
@@ -46,10 +46,10 @@
         />
 
     <genericsetup:registerProfile
-        name="custom_document_by_line"
-        title="atRealLayouts: Custom Document By Line"
-        directory="profiles/custom_document_by_line"
-        description="Extension profile for Custom Document By Line"
+        name="document_by_line"
+        title="atRealLayouts: Document By Line"
+        directory="profiles/document_by_line"
+        description="Extension profile for Document By Line"
         provides="Products.GenericSetup.interfaces.EXTENSION"
         />
 

Modified: atreal.layouts/trunk/atreal/layouts/interfaces.py
==============================================================================
--- atreal.layouts/trunk/atreal/layouts/interfaces.py	(original)
+++ atreal.layouts/trunk/atreal/layouts/interfaces.py	Mon Dec 16 15:25:57 2013
@@ -12,6 +12,6 @@
     """ Marker interface that defines a Zope 3 browser layer.
     """
 
-class ICustomDocumentByLineLayer(Interface):
+class IDocumentByLineLayer(Interface):
     """ Marker interface that defines a Zope 3 browser layer.
     """
\ No newline at end of file

Modified: atreal.layouts/trunk/atreal/layouts/profiles/document_by_line/browserlayer.xml
==============================================================================
--- atreal.layouts/trunk/atreal/layouts/profiles/custom_document_by_line/browserlayer.xml	(original)
+++ atreal.layouts/trunk/atreal/layouts/profiles/document_by_line/browserlayer.xml	Mon Dec 16 15:25:57 2013
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
 <layers>
-    <layer name="atreal.layouts.custom_document_by_line"
-           interface="atreal.layouts.interfaces.ICustomDocumentByLineLayer" />
+    <layer name="atreal.layouts.document_by_line"
+           interface="atreal.layouts.interfaces.IDocumentByLineLayer" />
 </layers>

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk