--- a/src/pyams_zmi/admin.py Wed Mar 04 00:07:41 2015 +0100
+++ b/src/pyams_zmi/admin.py Fri Mar 20 17:19:07 2015 +0100
@@ -17,16 +17,16 @@
# import interfaces
from pyams_skin.layer import IPyAMSLayer
-from pyams_utils.interfaces.site import ISiteRoot
from pyams_zmi.layer import IAdminLayer
# import packages
from pyams_pagelet.pagelet import pagelet_config
from pyams_template.template import template_config
from pyams_zmi.view import AdminView
+from zope.interface import Interface
-@pagelet_config(name='admin.html', layer=IPyAMSLayer, context=ISiteRoot, permission='system.view')
+@pagelet_config(name='admin.html', layer=IPyAMSLayer, context=Interface, permission='system.view')
@template_config(template='templates/admin.pt', layer=IAdminLayer)
class MainAdminPage(AdminView):
"""Main administration page"""