Skip to content

Commit

Permalink
zpretty
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-andreotti committed Jul 4, 2024
1 parent 1b74a8d commit dd96dfd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
10 changes: 7 additions & 3 deletions src/iosanita/policy/browser/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:browser="http://namespaces.zope.org/browser"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="iosanita.policy">
i18n_domain="iosanita.policy"
>

<!-- Set overrides folder for Just-a-Bunch-Of-Templates product -->
<include package="z3c.jbot" file="meta.zcml" />
<include
package="z3c.jbot"
file="meta.zcml"
/>
<browser:jbot
directory="overrides"
layer="iosanita.policy.interfaces.IIosanitaPolicyLayer"
/>

<!-- Publish static files -->
<plone:static
directory="static"
name="iosanita.policy"
type="plone"
directory="static"
/>

</configure>
7 changes: 4 additions & 3 deletions src/iosanita/policy/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="iosanita.policy">
i18n_domain="iosanita.policy"
>

<i18n:registerTranslations directory="locales" />

Expand All @@ -20,18 +21,18 @@
<genericsetup:registerProfile
name="default"
title="iosanita.policy"
directory="profiles/default"
description="Installs the iosanita.policy add-on."
provides="Products.GenericSetup.interfaces.EXTENSION"
directory="profiles/default"
post_handler=".setuphandlers.post_install"
/>

<genericsetup:registerProfile
name="uninstall"
title="iosanita.policy (uninstall)"
directory="profiles/uninstall"
description="Uninstalls the iosanita.policy add-on."
provides="Products.GenericSetup.interfaces.EXTENSION"
directory="profiles/uninstall"
post_handler=".setuphandlers.uninstall"
/>

Expand Down
9 changes: 5 additions & 4 deletions src/iosanita/policy/permissions.zcml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone">
xmlns="http://namespaces.zope.org/zope"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone"
>

<configure zcml:condition="installed AccessControl.security">
<!-- -*- extra stuff goes here -*- -->
<!-- -*- extra stuff goes here -*- -->


</configure>
Expand Down

0 comments on commit dd96dfd

Please sign in to comment.