[PATCH] hgweb: Accessibility improvement for returning help page from its topic pages

Mert Salık mertsalik.itu at gmail.com
Wed Apr 13 06:40:06 CDT 2011


# HG changeset patch
# User mertsalik
# Date 1302693762 -10800
# Node ID 2d12ff67130abe33deaa9b395e9217e7fa13758d
# Parent  cff56a0ed18ec3d2f7816eccc6ef4ad9ebf3430d
hgweb: Returning main help page from help topics is difficult and there was
no active "/help" link around page. Cross link for Help page added inside of
Help header.

diff -r cff56a0ed18e -r 2d12ff67130a mercurial/templates/paper/help.tmpl
--- a/mercurial/templates/paper/help.tmpl    Mon Apr 11 21:44:22 2011 +0300
+++ b/mercurial/templates/paper/help.tmpl    Wed Apr 13 14:22:42 2011 +0300
@@ -27,7 +27,7 @@

 <div class="main">
 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
-<h3>Help: {topic}</h3>
+<h3><a href="/help">Help:</a> {topic}</h3>

 <form class="search" action="{url}log">
 {sessionvars%hiddenformentry}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20110413/7b267743/attachment.htm>


More information about the Mercurial-devel mailing list