projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A monster checkin, with a variety of changes to the web
[invirt/packages/invirt-web.git]
/
templates
/
help.tmpl
diff --git
a/templates/help.tmpl
b/templates/help.tmpl
index
9998922
..
804255a
100644
(file)
--- a/
templates/help.tmpl
+++ b/
templates/help.tmpl
@@
-2,15
+2,34
@@
#extends skeleton
#def title
#extends skeleton
#def title
+#if len($subjects) == 1
+Help on $subjects[0]
+#else
Help
Help
+#end if
#end def
#def body
#if not $simple
<h1>Help</h1>
#end def
#def body
#if not $simple
<h1>Help</h1>
+<p>Topics:
+#for $key in sorted($mapping)
+<a href="help?subject=$key">$key</a>
+#end for
+</p>
#end if
#for $subject in $subjects
#end if
#for $subject in $subjects
+#if $subject in $mapping
+#if not $simple
+<h2>$subject</h2>
+#end if
<p>$mapping[$subject]</p>
<p>$mapping[$subject]</p>
+#else
+<p>Unknown subject '$subject'.</p>
+#end if
#end for
#end for
+#if $simple
+<a href="javascript:window.close();">Close</a>
+#end if
#end def
#end def