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

« back to all changes in this revision

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

  • Committer: Nick Chadwick
  • Date: 2009-02-19 05:47:56 UTC
  • mto: (1099.1.180 new-dispatch)
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: chadnickbok@gmail.com-20090219054756-v984vmc7kheiq6xy
Updated the tutorial service, to now allow users to edit worksheets
online.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        ctx['enrolled_subjects'] = []
51
51
        ctx['other_subjects'] = []
52
52
 
 
53
        req.content_type = "text/html"
 
54
        req.write_html_head_foot = True
 
55
 
53
56
        for subject in enrolled_subjects:
54
57
            new_subj = {}
55
58
            new_subj['name'] = subject.name