-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from iosanita.policy.interfaces import IIosanitaPolicyLayer | ||
from iosanita.policy.interfaces import IIoSanitaSettings | ||
from iosanita.policy.interfaces import IIoSanitaSettingsControlpanel | ||
from plone.restapi.controlpanels import RegistryConfigletPanel | ||
from zope.component import adapter | ||
from zope.interface import implementer | ||
from zope.interface import Interface | ||
|
||
|
||
@adapter(Interface, IIosanitaPolicyLayer) | ||
@implementer(IIoSanitaSettingsControlpanel) | ||
class IoSanitaSettingsControlpanel(RegistryConfigletPanel): | ||
schema = IIoSanitaSettings | ||
configlet_id = "IoSanitaSettings" | ||
configlet_category_id = "Products" | ||
schema_prefix = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters