summaryrefslogtreecommitdiffstats
path: root/src/collective/dms/batchimport/configure.zcml
blob: d728c8b2347c59f5f553b2392c82433120d795d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:grok="http://namespaces.zope.org/grok"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    xmlns:browser="http://namespaces.zope.org/browser"
    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
    i18n_domain="collective.dms.batchimport">

  <include package="five.grok" />
  <include package="collective.z3cform.datagridfield" />
  <include package="collective.dms.mailcontent" />

  <grok:grok package="." />
  <i18n:registerTranslations directory="locales" />

  <browser:view
    name="batchimport"
    for="Products.CMFPlone.interfaces.IPloneSiteRoot"
    class=".batchimport.BatchImporter"
    permission="cmf.ManagePortal"
    />

  <browser:resource
      name="batchimport.png"
      image="upload_folder_icon.png"
      />

  <browser:page
    name="batchimport-controlpanel"
    for="Products.CMFPlone.interfaces.IPloneSiteRoot"
    class=".batchimport.ControlPanel"
    permission="cmf.ManagePortal"
    />

  <!-- include package="collective.dms.basecontent" / -->

  <genericsetup:registerProfile
      name="default"
      title="collective.dms.batchimport"
      directory="profiles/default"
      description="Installs the collective.dms.batchimport package"
      provides="Products.GenericSetup.interfaces.EXTENSION"
      />

</configure>