mercurial/templates/monoblue/helptopics.tmpl
changeset 27578 d35ff0b0d0da
parent 26151 0dda3692ec9b
child 27580 34c3ea65d6d1
--- a/mercurial/templates/monoblue/helptopics.tmpl	Tue Dec 29 15:32:12 2015 -0800
+++ b/mercurial/templates/monoblue/helptopics.tmpl	Wed Dec 30 17:12:59 2015 -0700
@@ -35,11 +35,15 @@
     <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
     {topics % helpentry}
 
+    {if(earlycommands, '
     <tr><td colspan="2"><h2><a name="main" href="#main">Main Commands</a></h2></td></tr>
     {earlycommands % helpentry}
+    ')}
 
+    {if(othercommands, '
     <tr><td colspan="2"><h2><a name="other" href="#other">Other Commands</a></h2></td></tr>
     {othercommands % helpentry}
+    ')}
     </table>
 
 {footer}