Mercurial > hg > mercurial-crew-with-dirclash
diff templates/filelog.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 | 4f81068ed8cd |
children | 70a3b6a505c6 |
line wrap: on
line diff
--- a/templates/filelog.tmpl +++ b/templates/filelog.tmpl @@ -1,17 +1,17 @@ #header# <title>#repo|escape#: #file# history</title> <link rel="alternate" type="application/rss+xml" - href="?cmd=filelog;file=#file#;filenode=0;style=rss" title="RSS feed for #repo|escape#:#file#"> + href="?fl=0;file=#file#;style=rss" title="RSS feed for #repo|escape#:#file#"> </head> </head> <body> <div class="buttons"> -<a href="?cmd=changelog">changelog</a> -<a href="?cmd=tags">tags</a> -<a href="?cmd=file;file=#file#;filenode=#filenode#">file</a> -<a href="?cmd=annotate;file=#file#;filenode=#filenode#">annotate</a> -<a type="application/rss+xml" href="?cmd=filelog;file=#file#;filenode=0;style=rss">rss</a> +<a href="?cl=#node|short#">changelog</a> +<a href="?tags=">tags</a> +<a href="?f=#filenode|short#;file=#file#">file</a> +<a href="?fa=#filenode|short#;file=#file#">annotate</a> +<a type="application/rss+xml" href="?fl=0;file=#file#;style=rss">rss</a> </div> <h2>#file# revision history</h2>