~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 05:00:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1731.
  • Revision ID: matt.giuca@gmail.com-20100225050039-s6b1n33hwwucafql
Added new project set edit view. Linked from projects page, project set page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    permission = 'admin_groups'
38
38
 
39
39
    def populate(self, req, ctx):
 
40
        from ivle.webapp.admin.subject import ProjectSetEdit
40
41
        self.plugin_styles[Plugin] = ['groups.css']
41
42
        self.plugin_scripts[Plugin] = ['groups.js']
42
43
 
43
44
        ctx['req'] = req
44
45
        ctx['projectset'] = self.context
 
46
        ctx['ProjectSetEdit'] = ProjectSetEdit
 
47
        ctx['permissions'] = self.context.get_permissions(req.user,req.config)
45
48
 
46
49
class Plugin(ViewPlugin, MediaPlugin):
47
50
    """