Mercurial > hg
diff mercurial/templates/gitweb/filerevision.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 | a298f5c61b34 |
children | 2d93d2159e30 |
line wrap: on
line diff
--- a/mercurial/templates/gitweb/filerevision.tmpl Fri Jun 09 13:42:38 2017 -0700 +++ b/mercurial/templates/gitweb/filerevision.tmpl Fri Jun 09 13:45:36 2017 -0700 @@ -10,6 +10,7 @@ <div class="page_header"> <a href="{logourl}" title="Mercurial" style="float: right;">Mercurial</a> <a href="/">Mercurial</a> {pathdef%breadcrumb} / file revision +{searchform} </div> <div class="page_nav">