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

« back to all changes in this revision

Viewing changes to ivle/webapp/help/__init__.py

  • Committer: William Grant
  • Date: 2009-02-25 08:21:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090225082138-9xjes8motif205xw
Move the old tutorial views into the 'subjects' tab, so they get the right
icon and highlight the right tab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
class HelpView(XHTMLView):
31
31
    """Shows the help file for the specified path."""
32
 
    appname = 'help'
 
32
    tab = 'help'
33
33
    template = 'helpview.html'
34
34
 
35
35
    def __init__(self, req, path):
59
59
 
60
60
class HelpToCView(XHTMLView):
61
61
    """Displays the help Table of Contents."""
62
 
    appname = 'help'
 
62
    tab = 'help'
63
63
    template = 'toc.html'
64
64
 
65
65
    def authorize(self, req):