Mercurial > hg > mercurial-crew-with-dirclash
view templates/filediff.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 | dbe0ce2ae196 |
children | 19d2776f1725 |
line wrap: on
line source
#header# <title>#repo|escape#: #file# diff</title> </head> <body> <div class="buttons"> <a href="?cl=#rev#">changelog</a> <a href="?tags=">tags</a> <a href="?cs=#node|short#">changeset</a> <a href="?f=#filenode|short#;file=#file#">file</a> <a href="?fl=#filenode|short#;file=#file#">revisions</a> <a href="?fa=#filenode|short#;file=#file#">annotate</a> <a href="?fd=#node|short#;file=#file#;style=raw">raw</a> </div> <h2>#file#</h2> <table id="filediffEntry"> <tr> <th class="revision">revision #rev#:</th> <td class="revision"><a href="?cs=#node|short#">#node|short#</a></td> </tr> #parent# </table> <div id="fileDiff"> #diff# </div> #footer#