Last change
on this file since 382 was
187,
checked in by ecprice, 17 years ago
|
Help, admin, links at the top.
|
File size:
532 bytes
|
Line | |
---|
1 | #from skeleton import skeleton |
---|
2 | #extends skeleton |
---|
3 | |
---|
4 | #def title |
---|
5 | #if len($subjects) == 1 |
---|
6 | Help on $subjects[0] |
---|
7 | #else |
---|
8 | Help |
---|
9 | #end if |
---|
10 | #end def |
---|
11 | |
---|
12 | |
---|
13 | #def body |
---|
14 | #if not $simple |
---|
15 | <h1>Help</h1> |
---|
16 | <p>Topics: |
---|
17 | #for $key in sorted($mapping) |
---|
18 | <a href="help?subject=$key">$key</a> |
---|
19 | #end for |
---|
20 | </p> |
---|
21 | #end if |
---|
22 | #for $subject in $subjects |
---|
23 | #if $subject in $mapping |
---|
24 | #if not $simple |
---|
25 | <h2>$subject</h2> |
---|
26 | #end if |
---|
27 | <p>$mapping[$subject]</p> |
---|
28 | #else |
---|
29 | <p>Unknown subject '$subject'.</p> |
---|
30 | #end if |
---|
31 | #end for |
---|
32 | #if $simple |
---|
33 | <a href="javascript:window.close();">Close</a> |
---|
34 | #end if |
---|
35 | #end def |
---|
Note: See
TracBrowser
for help on using the repository browser.