~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-07-28 06:09:00 UTC
  • Revision ID: matt.giuca@gmail.com-20100728060900-6a0lcuexcv1juh5r
ivle/webapp/submit/submit.html: Rewrote error message when an offering could not be found to submit to. This can have one of several causes, and the old error assumed it was because you weren't in a subject dir. Now enumerates the possible reasons. (LP: #526853)

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."""