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

« back to all changes in this revision

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

Fix some issues with undefined variables in view template contexts. Genshi 0.5
is much less lenient.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    <title>Help</title>
6
6
  </head>
7
7
  <body>
8
 
    <div id="ivle_padding">
9
 
      <h1>Help</h1>
10
 
      <xi:include href="${helpfile}"/>
11
 
    </div>
 
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>
12
16
  </body>
13
17
</html>