comparison mercurial/templates/gitweb/filediff.tmpl @ 32761:cb5123eff7d1

hgweb: consistently add search form to all gitweb pages Paper has it on all pages. Not sure why gitweb doesn't. I think it should be everywhere because it is a useful feature. Also, we weren't consistently adding the HTML in the same place. This was OK since the element is absolutely positioned. But this bothered me a bit, so I went ahead and fixed it.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 09 Jun 2017 13:45:36 -0700
parents dd89304687a3
children 2d93d2159e30
comparison
equal deleted inserted replaced
32760:58f3088aa2f5 32761:cb5123eff7d1
8 <body> 8 <body>
9 9
10 <div class="page_header"> 10 <div class="page_header">
11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> 11 <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a>
12 <a href="/">Mercurial</a> {pathdef%breadcrumb} / diff 12 <a href="/">Mercurial</a> {pathdef%breadcrumb} / diff
13 {searchform}
13 </div> 14 </div>
14 15
15 <div class="page_nav"> 16 <div class="page_nav">
16 <a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> | 17 <a href="{url|urlescape}summary{sessionvars%urlparameter}">summary</a> |
17 <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> | 18 <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> |