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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject.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:
715
715
                projectCtx['req'] = req
716
716
                projectCtx['project'] = project
717
717
                projectCtx['ProjectEdit'] = ProjectEdit
 
718
                projectCtx['ProjectDelete'] = ProjectDelete
718
719
 
719
720
                setCtx['projects'].append(
720
721
                        projecttmpl.generate(projectCtx))
760
761
        ctx['project'] = self.context
761
762
        ctx['user'] = req.user
762
763
        ctx['ProjectEdit'] = ProjectEdit
 
764
        ctx['ProjectDelete'] = ProjectDelete
763
765
 
764
766
class ProjectUniquenessValidator(formencode.FancyValidator):
765
767
    """A FormEncode validator that checks that a project short_name is unique