paper: show current search mode name at search results
authorAlexander Plavin <alexander@plav.in>
Fri, 06 Sep 2013 13:30:56 +0400
changeset 19766 393e9f1fc4d2
parent 19765 521c373ff134
child 19767 d45010687268
paper: show current search mode name at search results
mercurial/templates/paper/search.tmpl
tests/test-hgweb-commands.t
--- a/mercurial/templates/paper/search.tmpl	Fri Sep 06 13:30:56 2013 +0400
+++ b/mercurial/templates/paper/search.tmpl	Fri Sep 06 13:30:56 2013 +0400
@@ -23,6 +23,10 @@
 <h2 class="breadcrumb"><a href="/">Mercurial</a> {pathdef%breadcrumb}</h2>
 <h3>searching for '{query|escape}'</h3>
 
+<p>
+Assuming {modedesc}.
+</p>
+
 <form class="search" action="{url|urlescape}log">
 {sessionvars%hiddenformentry}
 <p><input name="rev" id="search1" type="text" size="30" value="{query|escape}"></p>
--- a/tests/test-hgweb-commands.t	Fri Sep 06 13:30:56 2013 +0400
+++ b/tests/test-hgweb-commands.t	Fri Sep 06 13:30:56 2013 +0400
@@ -507,6 +507,10 @@
   <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
   <h3>searching for 'base'</h3>
   
+  <p>
+  Assuming literal keyword search.
+  </p>
+  
   <form class="search" action="/log">
   
   <p><input name="rev" id="search1" type="text" size="30" value="base"></p>