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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-02-24 12:18:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1698.
  • Revision ID: grantw@unimelb.edu.au-20100224121811-ubxxiulpli7mk5cq
Hide unpublished worksheets if edit_worksheets is not held.

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
 
309
309
        ctx['worksheets'], problems_total, problems_done = (
310
310
            ivle.worksheet.utils.create_list_of_fake_worksheets_and_stats(
311
 
                req.store, req.user, self.context))
 
311
                req.config, req.store, req.user, self.context))
312
312
 
313
313
        ctx['exercises_total'] = problems_total
314
314
        ctx['exercises_done'] = problems_done