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

« back to all changes in this revision

Viewing changes to ivle/worksheet/rst.py

  • Committer: Matt Giuca
  • Date: 2010-02-12 03:19:48 UTC
  • Revision ID: matt.giuca@gmail.com-20100212031948-4co7z01d5lqk2oa6
Removed 'edit' permission on offerings for tutors, as per Bug #520232. This prevents tutors from editing offering details, projects or worksheets. Note that we *do* want tutors to edit worksheets. I'm about to add that back, as a separate permission.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1555
1555
        self.body.append('<exercise weight="1" src="')
1556
1556
 
1557
1557
    def depart_exercise(self, node):
1558
 
        self.body.append('"/>')
 
1558
        self.body.append('"/>\n')
1559
1559
 
1560
1560
    def visit_challenge(self, node):
1561
1561
        self.body.append('<exercise weight="0" src="')
1562
1562
 
1563
1563
    def depart_challenge(self, node):
1564
 
        self.body.append('"/>')
 
1564
        self.body.append('"/>\n')
1565
1565
 
1566
1566
    def visit_literal(self, node):
1567
1567
        """Process text to prevent tokens from wrapping."""