Mercurial > hg-stable
changeset 19795:ac08ff370977
paper: define searchhint message in map file and use it in other templates
line wrap: on
line diff
--- a/mercurial/templates/paper/bookmarks.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/bookmarks.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -38,8 +38,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <table class="bigtable">
--- a/mercurial/templates/paper/branches.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/branches.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -38,8 +38,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <table class="bigtable">
--- a/mercurial/templates/paper/changeset.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/changeset.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -36,8 +36,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">{desc|strip|escape|websub|nonempty}</div>
--- a/mercurial/templates/paper/error.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/error.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -29,8 +29,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30"></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">
--- a/mercurial/templates/paper/fileannotate.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/fileannotate.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -42,8 +42,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">{desc|strip|escape|websub|nonempty}</div>
--- a/mercurial/templates/paper/filecomparison.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/filecomparison.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -41,8 +41,7 @@ <form class="search" action="{url|urlescape}log"> <p>{sessionvars%hiddenformentry}</p> <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">{desc|strip|escape|websub|nonempty}</div>
--- a/mercurial/templates/paper/filediff.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/filediff.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -41,8 +41,7 @@ <form class="search" action="{url|urlescape}log"> <p>{sessionvars%hiddenformentry}</p> <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">{desc|strip|escape|websub|nonempty}</div>
--- a/mercurial/templates/paper/filelog.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/filelog.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -49,8 +49,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="navigate">
--- a/mercurial/templates/paper/filerevision.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/filerevision.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -40,8 +40,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="description">{desc|strip|escape|websub|nonempty}</div>
--- a/mercurial/templates/paper/graph.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/graph.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -43,8 +43,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="navigate">
--- a/mercurial/templates/paper/help.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/help.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -28,8 +28,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div id="doc"> {rstdoc(doc, "html")}
--- a/mercurial/templates/paper/helptopics.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/helptopics.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -26,8 +26,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <table class="bigtable"> <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr>
--- a/mercurial/templates/paper/manifest.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/manifest.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -35,8 +35,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <table class="bigtable">
--- a/mercurial/templates/paper/map Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/map Thu Jul 25 01:12:25 2013 +0400 @@ -243,3 +243,5 @@ urlparameter = '{separator}{name}={value|urlescape}' hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />' breadcrumb = '> <a href="{url|urlescape}">{name|escape}</a> ' + +searchhint = 'find changesets by author, revision, files, or words in the commit message'
--- a/mercurial/templates/paper/search.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/search.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -34,8 +34,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" value="{query|escape}"></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="navigate">
--- a/mercurial/templates/paper/shortlog.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/shortlog.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -45,8 +45,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" value="{query|escape}" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <div class="navigate">
--- a/mercurial/templates/paper/tags.tmpl Mon Sep 23 14:28:01 2013 -0700 +++ b/mercurial/templates/paper/tags.tmpl Thu Jul 25 01:12:25 2013 +0400 @@ -37,8 +37,7 @@ <form class="search" action="{url|urlescape}log"> {sessionvars%hiddenformentry} <p><input name="rev" id="search1" type="text" size="30" /></p> -<div id="hint">find changesets by author, revision, -files, or words in the commit message</div> +<div id="hint">{searchhint}</div> </form> <table class="bigtable">
--- a/tests/test-help.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-help.t Thu Jul 25 01:12:25 2013 +0400 @@ -930,8 +930,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable"> <tr><td colspan="2"><h2><a name="main" href="#topics">Topics</a></h2></td></tr> @@ -1490,8 +1489,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div id="doc"> <p> @@ -1656,8 +1654,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div id="doc"> <p> @@ -1852,8 +1849,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div id="doc"> <h1>Specifying Single Revisions</h1>
--- a/tests/test-hgweb-commands.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-commands.t Thu Jul 25 01:12:25 2013 +0400 @@ -258,8 +258,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" value="" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -377,8 +376,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">base</div> @@ -519,8 +517,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" value="base"></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -791,8 +788,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">Added tag 1.0 for changeset 2ef0ac749a14</div>
--- a/tests/test-hgweb-descend-empties.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-descend-empties.t Thu Jul 25 01:12:25 2013 +0400 @@ -76,8 +76,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable">
--- a/tests/test-hgweb-diffs.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-diffs.t Thu Jul 25 01:12:25 2013 +0400 @@ -84,8 +84,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">a</div> @@ -246,8 +245,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">b</div> @@ -348,8 +346,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">a</div> @@ -514,8 +511,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">b</div> @@ -613,8 +609,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">a</div> @@ -734,8 +729,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">c</div> @@ -857,8 +851,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">d</div>
--- a/tests/test-hgweb-empty.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-empty.t Thu Jul 25 01:12:25 2013 +0400 @@ -63,8 +63,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" value="" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -173,8 +172,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" value="" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -279,8 +277,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -426,8 +423,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable">
--- a/tests/test-hgweb-filelog.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-filelog.t Thu Jul 25 01:12:25 2013 +0400 @@ -170,8 +170,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -279,8 +278,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -388,8 +386,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -492,8 +489,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="navigate"> @@ -576,8 +572,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30"></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">
--- a/tests/test-hgweb-removed.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb-removed.t Thu Jul 25 01:12:25 2013 +0400 @@ -65,8 +65,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">del</div> @@ -190,8 +189,7 @@ <form class="search" action="/log"> <p></p> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">del</div>
--- a/tests/test-hgweb.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-hgweb.t Thu Jul 25 01:12:25 2013 +0400 @@ -81,8 +81,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30"></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description"> @@ -171,8 +170,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30"></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description"> @@ -249,8 +247,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <table class="bigtable">
--- a/tests/test-highlight.t Mon Sep 23 14:28:01 2013 -0700 +++ b/tests/test-highlight.t Thu Jul 25 01:12:25 2013 +0400 @@ -109,8 +109,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">a</div> @@ -240,8 +239,7 @@ <form class="search" action="/log"> <p><input name="rev" id="search1" type="text" size="30" /></p> - <div id="hint">find changesets by author, revision, - files, or words in the commit message</div> + <div id="hint">find changesets by author, revision, files, or words in the commit message</div> </form> <div class="description">a</div>