equal
deleted
inserted
replaced
|
1 # |
|
2 # Copyright (c) 2008-2018 Thierry Florac <tflorac AT ulthar.net> |
|
3 # All Rights Reserved. |
|
4 # |
|
5 # This software is subject to the provisions of the Zope Public License, |
|
6 # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. |
|
7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED |
|
8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
|
9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS |
|
10 # FOR A PARTICULAR PURPOSE. |
|
11 # |
|
12 |
|
13 __docformat__ = 'restructuredtext' |
|
14 |
|
15 from zope.interface import Interface, implementer |
|
16 |
|
17 from pyams_content.shared.common.portlet.interfaces import ISharedContentHeadViewletManager |
|
18 from pyams_skin.layer import IPyAMSUserLayer |
|
19 from pyams_viewlet.manager import viewletmanager_config, WeightOrderedViewletManager |
|
20 |
|
21 |
|
22 @viewletmanager_config(name='pyams_content.head', layer=IPyAMSUserLayer, view=Interface) |
|
23 @implementer(ISharedContentHeadViewletManager) |
|
24 class SharedContentHeadViewletManager(WeightOrderedViewletManager): |
|
25 """Shared content head viewlet manager""" |