Mercurial > hg > mercurial-crew-with-dirclash
comparison templates/map @ 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 | 8c094fb47b59 |
children | 68ec7b9e09a4 |
comparison
equal
deleted
inserted
replaced
1409:964baa35faf8 | 1410:17703aa4491e |
---|---|
1 default = "changelog" | 1 default = "changelog" |
2 header = header.tmpl | 2 header = header.tmpl |
3 footer = footer.tmpl | 3 footer = footer.tmpl |
4 search = search.tmpl | 4 search = search.tmpl |
5 changelog = changelog.tmpl | 5 changelog = changelog.tmpl |
6 naventry = "<a href="?cmd=changelog;rev=#rev#">#label#</a> " | 6 naventry = "<a href="?cl=#rev#">#label#</a> " |
7 filedifflink = "<a href="?cmd=filediff;node=#node#;file=#file#">#file#</a> " | 7 filedifflink = "<a href="?fd=#node|short#;file=#file#">#file#</a> " |
8 filenodelink = "<a href="?cmd=file;filenode=#filenode#;file=#file#">#file#</a> " | 8 filenodelink = "<a href="?f=#filenode|short#;file=#file#">#file#</a> " |
9 fileellipses = "..." | 9 fileellipses = "..." |
10 changelogentry = changelogentry.tmpl | 10 changelogentry = changelogentry.tmpl |
11 searchentry = changelogentry.tmpl | 11 searchentry = changelogentry.tmpl |
12 changeset = changeset.tmpl | 12 changeset = changeset.tmpl |
13 manifest = manifest.tmpl | 13 manifest = manifest.tmpl |
14 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>" | 14 manifestdirentry = "<tr class="parity#parity#"><td><tt>drwxr-xr-x</tt> <td><a href="?cmd=manifest;manifest=#manifest#;path=#path#">#basename#/</a>" |
15 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?cmd=file;filenode=#filenode#;file=#file#">#basename#</a>" | 15 manifestfileentry = "<tr class="parity#parity#"><td><tt>#permissions|permissions#</tt> <td><a href="?f=#filenode|short#;file=#file#">#basename#</a>" |
16 filerevision = filerevision.tmpl | 16 filerevision = filerevision.tmpl |
17 fileannotate = fileannotate.tmpl | 17 fileannotate = fileannotate.tmpl |
18 filediff = filediff.tmpl | 18 filediff = filediff.tmpl |
19 filelog = filelog.tmpl | 19 filelog = filelog.tmpl |
20 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>" | 20 fileline = "<div class="parity#parity#"><span class="lineno">#linenumber#</span>#line|escape#</div>" |
21 filelogentry = filelogentry.tmpl | 21 filelogentry = filelogentry.tmpl |
22 annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cmd=changeset;node=#node#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>" | 22 annotateline = "<tr class="parity#parity#"><td class="annotate"><a href="?cs=#node|short#">#author|obfuscate#@#rev#</a></td><td><pre>#line|escape#</pre></td></tr>" |
23 difflineplus = "<span class="plusline">#line|escape#</span>" | 23 difflineplus = "<span class="plusline">#line|escape#</span>" |
24 difflineminus = "<span class="minusline">#line|escape#</span>" | 24 difflineminus = "<span class="minusline">#line|escape#</span>" |
25 difflineat = "<span class="atline">#line|escape#</span>" | 25 difflineat = "<span class="atline">#line|escape#</span>" |
26 diffline = "#line|escape#" | 26 diffline = "#line|escape#" |
27 changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>" | 27 changelogparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
28 changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>" | 28 changesetparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
29 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>" | 29 filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
30 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node|short#</a></td></tr>" | 30 fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?fa=#filenode|short#;file=#file#">#node|short#</a></td></tr>" |
31 tags = tags.tmpl | 31 tags = tags.tmpl |
32 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cmd=changeset;node=#node#">#tag#</a></li>" | 32 tagentry = "<li class="tagEntry parity#parity#"><span class="node">#node#</span> <a href="?cs=#node|short#">#tag#</a></li>" |
33 diffblock = "<pre class="parity#parity#">#lines#</pre>" | 33 diffblock = "<pre class="parity#parity#">#lines#</pre>" |
34 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" | 34 changelogtag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" |
35 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" | 35 changesettag = "<tr><th class="tag">tag:</th><td class="tag">#tag#</td></tr>" |
36 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cmd=changeset;node=#node#">#node|short#</a></td></tr>" | 36 filediffparent = "<tr><th class="parent">parent #rev#:</th><td class="parent"><a href="?cs=#node|short#">#node|short#</a></td></tr>" |
37 filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node|short#</a></td></tr>" | 37 filelogparent = "<tr><td align="right">parent #rev#: </td><td><a href="?f=#node|short#;file=#file#">#node|short#</a></td></tr>" |
38 indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name#</a></td><td>#shortdesc#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cmd=changelog;style=rss">RSS</a></td></tr>" | 38 indexentry = "<tr class="parity#parity#"><td><a href="#url#">#name#</a></td><td>#shortdesc#</td><td>#contact|obfuscate#</td><td>#lastupdate|age# ago</td><td><a href="#url#?cl=tip;style=rss">RSS</a></td></tr>" |
39 index = index.tmpl | 39 index = index.tmpl |
40 archiveentry = "<a href="?cmd=archive;node=#node#;type=#type#">#type#</a> " | 40 archiveentry = "<a href="?ca=#node|short#;type=#type#">#type#</a> " |
41 notfound = notfound.tmpl | 41 notfound = notfound.tmpl |