~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-08-02 07:06:20 UTC
  • Revision ID: grantw@unimelb.edu.au-20090802070620-ppq1zznwt6gh3fmg
Tags: 0.1.9.15
Revert browser bottom offset changes; the new one is broken in many browsers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
            raise NotFound()
29
29
 
30
30
    def new_project_url(self, projectset):
31
 
        return "/api/subjects/%s/%s/%s/+projectsets/%d/+projects/+new" % (
32
 
            self.context.subject.short_name, self.context.semester.year,
33
 
            self.context.semester.semester, projectset.id)
 
31
        return "/api/subjects/" + str(self.context.subject.id) + "/" +\
 
32
               self.context.semester.year + "/" +\
 
33
               self.context.semester.semester + "/+projectsets/" +\
 
34
               (str(projectset.id)) + "/+projects/+new"
34
35
 
35
36
    @named_operation('edit')
36
37
    def add_projectset(self, req, group_size):