X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e0e7814e58df1dc0342e3f88e7bcfad4ed483079..b6054ddecbc4d4a9b8e822ff8f0ace386e5e6e00:/templates/help.tmpl diff --git a/templates/help.tmpl b/templates/help.tmpl index 9998922..804255a 100644 --- a/templates/help.tmpl +++ b/templates/help.tmpl @@ -2,15 +2,34 @@ #extends skeleton #def title +#if len($subjects) == 1 +Help on $subjects[0] +#else Help +#end if #end def #def body #if not $simple
Topics: +#for $key in sorted($mapping) +$key +#end for +
#end if #for $subject in $subjects +#if $subject in $mapping +#if not $simple +$mapping[$subject]
+#else +Unknown subject '$subject'.
+#end if #end for +#if $simple +Close +#end if #end def