Added inner admin view base class
authorThierry Florac <thierry.florac@onf.fr>
Mon, 20 Jun 2016 15:53:19 +0200
changeset 19 92e1f675035c
parent 18 6d1fb0659e7a
child 20 e9fa6f0422d8
Added inner admin view base class
src/pyams_zmi/view.py
--- a/src/pyams_zmi/view.py	Wed Jun 15 12:43:54 2016 +0200
+++ b/src/pyams_zmi/view.py	Mon Jun 20 15:53:19 2016 +0200
@@ -17,6 +17,7 @@
 # import interfaces
 from pyams_form.interfaces.form import IFormCreatedEvent
 from pyams_pagelet.interfaces import IPageletCreatedEvent
+from pyams_skin.interfaces import IInnerPage
 from pyams_zmi.interfaces import IAdminView
 from pyams_zmi.layer import IAdminLayer
 
@@ -33,6 +34,11 @@
     layer = IAdminLayer
 
 
+@implementer(IInnerPage)
+class InnerAdminView(AdminView):
+    """Inner admin view"""
+
+
 @subscriber(IPageletCreatedEvent, context_selector=IAdminView)
 def handle_admin_view(event):
     """Set skin for admin views"""