--- a/src/pyams_default_theme/shared/common/__init__.py Thu Jul 12 11:48:49 2018 +0200
+++ b/src/pyams_default_theme/shared/common/__init__.py Thu Jul 12 17:08:14 2018 +0200
@@ -39,7 +39,7 @@
@adapter_config(name='pyams_title',
- context=(Interface, IPyAMSUserLayer, Interface),
+ context=(Interface, Interface, Interface),
provides=ITALESExtension)
class PyAMSContentTitleTALESExtension(ContextRequestViewAdapter):
"""PyAMS content title TALES extension"""
@@ -58,7 +58,7 @@
@adapter_config(name='pyams_tag',
- context=(Interface, IPyAMSUserLayer, Interface),
+ context=(Interface, Interface, Interface),
provides=ITALESExtension)
class PyAMSContentTagTALESExtension(ContextRequestViewAdapter):
"""PyAMS content tag TALES extension"""
@@ -79,7 +79,7 @@
@adapter_config(name='pyams_date',
- context=(Interface, IPyAMSUserLayer, Interface),
+ context=(Interface, Interface, Interface),
provides=ITALESExtension)
class PyAMSContentDateTALESExtension(ContextRequestViewAdapter):
"""PyAMS content date TALES extension"""
@@ -101,7 +101,7 @@
@adapter_config(name='pyams_illustration',
- context=(Interface, IPyAMSUserLayer, Interface),
+ context=(Interface, Interface, Interface),
provides=ITALESExtension)
class PyAMSContentIllustrationTALESExtension(ContextRequestViewAdapter):
"""PyAMS content illustration TALES extension"""