~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/groups/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-02-25 07:54:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1731.
  • Revision ID: matt.giuca@gmail.com-20100225075459-ofwtu37q7d8rbmc8
Fully link the Project Delete view, from all the places the Project Edit view is linked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
    def populate(self, req, ctx):
40
40
        from ivle.webapp.admin.subject import (ProjectSetEdit, ProjectNew,
41
 
                                               ProjectEdit)
 
41
                                               ProjectEdit, ProjectDelete)
42
42
        self.plugin_styles[Plugin] = ['groups.css']
43
43
        self.plugin_scripts[Plugin] = ['groups.js']
44
44
 
47
47
        ctx['ProjectSetEdit'] = ProjectSetEdit
48
48
        ctx['ProjectNew'] = ProjectNew
49
49
        ctx['ProjectEdit'] = ProjectEdit
 
50
        ctx['ProjectDelete'] = ProjectDelete
50
51
        ctx['permissions'] = self.context.get_permissions(req.user,req.config)
51
52
 
52
53
class Plugin(ViewPlugin, MediaPlugin):