diff templates/filelogentry.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 e5d769afd3ef
children 56281e086f38
line wrap: on
line diff
--- a/templates/filelogentry.tmpl
+++ b/templates/filelogentry.tmpl
@@ -1,12 +1,12 @@
 <table class="parity#parity#" width="100%" cellspacing="0" cellpadding="0">
 <tr>
  <td align="right" width="15%"><b>#date|age# ago:&nbsp;</b></td>
- <td><b><a href="?cmd=changeset;node=#node#">#desc|firstline|escape#</a></b></td></tr>
+ <td><b><a href="?cs=#node|short#">#desc|firstline|escape#</a></b></td></tr>
 <tr>
  <td align="right">revision #filerev#:&nbsp;</td>
- <td><a href="?cmd=file;file=#file#;filenode=#filenode#">#filenode|short#</a>
-<a href="?cmd=filediff;file=#file#;node=#node#">(diff)</a>
-<a href="?cmd=annotate;file=#file#;filenode=#filenode#">(annotate)</a>
+ <td><a href="?f=#filenode|short#;file=#file#">#filenode|short#</a>
+<a href="?fd=#node|short#;file=#file#">(diff)</a>
+<a href="?fa=#filenode|short#;file=#file#">(annotate)</a>
 </td></tr>
 <tr>
  <td align="right">author:&nbsp;</td>