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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/offeringservice.py

  • Committer: William Grant
  • Date: 2009-12-07 05:01:09 UTC
  • mfrom: (1340 trunk)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20091207050109-230vmxx0lmfiphjx
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    template = "subject.html"
17
17
 
18
18
    def new_project_url(self, projectset):
19
 
        return "/api/subjects/" + str(self.context.subject.id) + "/" +\
20
 
               self.context.semester.year + "/" +\
21
 
               self.context.semester.semester + "/+projectsets/" +\
22
 
               (str(projectset.id)) + "/+projects/+new"
 
19
        return "/api/subjects/%s/%s/%s/+projectsets/%d/+projects/+new" % (
 
20
            self.context.subject.short_name, self.context.semester.year,
 
21
            self.context.semester.semester, projectset.id)
23
22
 
24
23
    @named_operation('edit')
25
24
    def add_projectset(self, req, group_size):