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

« back to all changes in this revision

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

MergedĀ fromĀ trunk

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
 
 
 
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):
78
78
    ]
79
79
 
80
80
    tabs = [
81
 
        ('help', 'Help', 'IVLE help pages', 'help.png', '+help', 100)
 
81
        ('help', 'Help', 'Get help with IVLE', 'help.png', '+help', 100)
82
82
    ]
83
83
 
84
84
    media = 'media'