~ubuntu-branches/ubuntu/natty/schooltool.gradebook/natty

« back to all changes in this revision

Viewing changes to src/schooltool/requirement/browser/configure.zcml

  • Committer: Bazaar Package Importer
  • Author(s): Gediminas Paulauskas
  • Date: 2011-02-24 16:53:53 UTC
  • Revision ID: james.westby@ubuntu.com-20110224165353-hi69ckyal3b8dyns
Tags: upstream-0.9.0~a1
ImportĀ upstreamĀ versionĀ 0.9.0~a1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<configure xmlns="http://namespaces.zope.org/browser"
 
3
           xmlns:zope="http://namespaces.zope.org/zope"
 
4
           i18n_domain="schooltool.gradebook">
 
5
 
 
6
  <!-- Manage Tab -->
 
7
  <configure package="schooltool.skin">
 
8
    <navigationViewlet
 
9
        name="scoresystems"
 
10
        for="*"
 
11
        manager="schooltool.app.browser.interfaces.IManageMenuViewletManager"
 
12
        template="templates/navigationViewlet.pt"
 
13
        class="schooltool.skin.skin.NavigationViewlet"
 
14
        permission="schooltool.edit"
 
15
        link="scoresystems"
 
16
        title="Score Systems"
 
17
        order="220"
 
18
        />
 
19
  </configure>
 
20
 
 
21
  <!-- Menu items for IScoreSystemsProxy -->
 
22
  <menuItem
 
23
      menu="schooltool_actions"
 
24
      title="Add Score System"
 
25
      for="schooltool.requirement.interfaces.IScoreSystemsProxy"
 
26
      action="add.html"
 
27
      permission="schooltool.edit"
 
28
      />
 
29
 
 
30
  <!-- Score System Views -->
 
31
  <page
 
32
      name="index.html"
 
33
      for="schooltool.requirement.interfaces.IScoreSystemsProxy"
 
34
      class=".scoresystem.ScoreSystemsView"
 
35
      template="scoresystems_overview.pt"
 
36
      permission="schooltool.edit"
 
37
      />
 
38
  <page
 
39
      name="add.html"
 
40
      for="schooltool.requirement.interfaces.IScoreSystemsProxy"
 
41
      class=".scoresystem.ScoreSystemAddView"
 
42
      template="scoresystem_add.pt"
 
43
      permission="schooltool.edit"
 
44
      />
 
45
  <page
 
46
      name="view.html"
 
47
      for="schooltool.requirement.interfaces.IScoreSystemsProxy"
 
48
      class=".scoresystem.ScoreSystemViewView"
 
49
      template="scoresystem_view.pt"
 
50
      permission="schooltool.edit"
 
51
      />
 
52
 
 
53
  <!-- Score system widget registration -->
 
54
  <zope:view
 
55
      type="zope.publisher.interfaces.browser.IBrowserRequest"
 
56
      for="schooltool.requirement.scoresystem.IScoreSystemField"
 
57
      provides="zope.formlib.interfaces.IInputWidget"
 
58
      factory=".scoresystem.ScoreSystemWidget"
 
59
      permission="zope.Public"
 
60
      />
 
61
  <page
 
62
      name="index.html"
 
63
      for="schooltool.requirement.interfaces.IRequirement"
 
64
      class="schooltool.requirement.browser.requirement.RequirementView"
 
65
      template="requirement.pt"
 
66
      permission="schooltool.view"
 
67
      />
 
68
  <page
 
69
      name="treenode"
 
70
      for="schooltool.requirement.interfaces.IRequirement"
 
71
      template="treenode.pt"
 
72
      permission="schooltool.view"
 
73
      />
 
74
  <containerViews
 
75
      for="..interfaces.IRequirement"
 
76
      contents="zope.ManageContent"
 
77
      add="schooltool.edit"
 
78
      />
 
79
      
 
80
</configure>