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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/traversal.py

  • Committer: William Grant
  • Date: 2009-07-05 12:23:11 UTC
  • mto: (1294.4.2 ui-the-third)
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20090705122311-wfyih6snxs4c144p
Recenter the breadcrumb text.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
                           Worksheet, WorksheetExercise)
24
24
 
25
25
from ivle.webapp import ApplicationRoot
26
 
from ivle.webapp.publisher import ROOT
27
 
from ivle.webapp.publisher.decorators import forward_route, reverse_route
 
26
from ivle.webapp.routing import ROOT
 
27
from ivle.webapp.routing.decorators import forward_route, reverse_route
28
28
 
29
29
import ivle.worksheet
30
30
 
84
84
        self.worksheet_exercise = worksheet_exercise
85
85
        self.user = user
86
86
 
87
 
    def get_permissions(self, user, config):
88
 
        return self.user.get_permissions(user, config)
 
87
    def get_permissions(self, user):
 
88
        return self.user.get_permissions(user)
89
89
 
90
90
 
91
91
@forward_route(WorksheetExercise, '+attempts', argc=1)