<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:plone="http://namespaces.plone.org/plone"
    i18n_domain="untranslated"
    >

  <plone:behavior
      name="quaive.publish_widely"
      title="Publish widely"
      description="Copy into the Library"
      factory=".publish.PublishWidely"
      provides=".publish.IPublishWidely"
      for="*"
      />

  <browser:page
      name="panel-publish-to-library"
      for="plone.dexterity.interfaces.IDexterityContent"
      class=".publish.PublishActionView"
      template="templates/panel-publish-to-library.pt"
      permission="cmf.ReviewPortalContent"
      layer="ploneintranet.library.interfaces.IPloneintranetLibraryLayer"
      />

  <browser:page
      name="feedback-library-copy-updated"
      for="plone.dexterity.interfaces.IDexterityContent"
      class=".publish.PublishActionView"
      template="templates/feedback-library-copy-updated.pt"
      permission="cmf.ReviewPortalContent"
      layer="ploneintranet.library.interfaces.IPloneintranetLibraryLayer"
      />

  <browser:page
      name="panel-library-remove-copy"
      for="plone.dexterity.interfaces.IDexterityContent"
      class=".publish.RetractActionView"
      template="templates/panel-library-remove-copy.pt"
      permission="cmf.ReviewPortalContent"
      layer="ploneintranet.library.interfaces.IPloneintranetLibraryLayer"
      />

  <browser:page
      name="feedback-library-copy-removed"
      for="plone.dexterity.interfaces.IDexterityContent"
      class=".publish.RetractActionView"
      template="templates/feedback-library-copy-removed.pt"
      permission="cmf.ReviewPortalContent"
      layer="ploneintranet.library.interfaces.IPloneintranetLibraryLayer"
      />

</configure>
