Mercurial > hg
diff templates/search.tmpl @ 1410:17703aa4491e
hgweb: shorten all the URLs in the standard templates
A URL like this:
http://www.selenic.com/hg/?cmd=changeset;node=5010207c35273ac1331cae44c253dd41fa07cb7f
is now presented as:
http://www.selenic.com/hg/?cs=5010207c352
(though the old style still works, of course)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 18 Oct 2005 23:08:35 -0700 |
parents | 7140bc781655 |
children | 612f3eba73ee |
line wrap: on
line diff
--- a/templates/search.tmpl Tue Oct 18 23:05:30 2005 -0700 +++ b/templates/search.tmpl Tue Oct 18 23:08:35 2005 -0700 @@ -4,9 +4,9 @@ <body> <div class="buttons"> -<a href="?cmd=changelog;rev=#rev#">changelog</a> -<a href="?cmd=tags">tags</a> -<a href="?cmd=manifest;manifest=#manifest#;path=/">manifest</a> +<a href="?cl=#rev#">changelog</a> +<a href="?tags=">tags</a> +<a href="?mf=#manifest|short#;path=/">manifest</a> </div> <h2>searching for #query|escape#</h2>