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

« back to all changes in this revision

Viewing changes to ivle/webapp/help/helpview.html

Created a new help system.

The new help system allows plugins to register their help paths, using
a dict of dicts and helpfile paths. This system allows multiple plugins
to use the same heading for their help files (ie. 'admin').

It also allows XHTMLViews to have a 'help' property, which makes the
context-sensitive help link point to their help path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"       
 
2
      xmlns:py="http://genshi.edgewall.org/"
 
3
      xmlns:xi="http://www.w3.org/2001/XInclude">
 
4
  <head>
 
5
    <title>Help</title>
 
6
  </head>
 
7
  <body>
 
8
    <py:choose>
 
9
      <py:when test='helpfile'>
 
10
        <xi:include href="${helpfile}"/>
 
11
      </py:when>
 
12
      <py:otherwise>
 
13
        <p>Error: Helpfile not found.</p>
 
14
      </py:otherwise>
 
15
    </py:choose>
 
16
  </body>
 
17
</html>