source: branches/wsgi/packages/sipb-xen-www/code/templates/help.tmpl @ 2164

Last change on this file since 2164 was 536, checked in by ecprice, 17 years ago

Prettier help titles

File size: 545 bytes
Line 
1#from skeleton import skeleton
2#extends skeleton
3
4#attr pageclass = 'help'
5
6#def title
7#if len($subjects) == 1
8Help on $subjects[0]
9#else
10Help
11#end if
12#end def
13
14
15#def body
16#if not $simple
17<p>Topics:
18#for $key in sorted($mapping)
19<a href="help?subject=$key">$key</a>
20#end for
21</p>
22#end if
23#for $subject in $subjects
24#if $subject in $mapping
25<h2>$subject</h2>
26#filter None
27<p>$mapping[$subject]</p>
28#end filter
29#else
30<p>Unknown subject '$subject'.</p>
31#end if
32#end for
33#if $simple
34<a href="javascript:window.close();">Close</a>
35#end if
36#end def
Note: See TracBrowser for help on using the repository browser.