Hide most revision numbers in hgweb
authormpm@selenic.com
Thu, 26 May 2005 11:15:05 -0800
changeset 167 fad9ad1ec7c7
parent 166 39624c47060f
child 168 65cf1b0cfe86
Hide most revision numbers in hgweb
templates/changelogentry.tmpl
templates/changeset.tmpl
templates/fileannotate.tmpl
templates/filediff.tmpl
templates/filelogentry.tmpl
templates/filerevision.tmpl
templates/map
--- a/templates/changelogentry.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/changelogentry.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -4,13 +4,13 @@
  <td align="right" width="15%"><b>#age# ago:&nbsp;</b></td>
  <td><b>#shortdesc#</b></td</tr>
 <tr>
- <td align="right">revision:&nbsp;</td>
- <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+ <td align="right">changeset #rev#:&nbsp;</td>
+ <td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>
 #parent1#
 #parent2#
 <tr>
  <td align="right">manifest:&nbsp;</td>
- <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
+ <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest#</a></td></tr>
 <tr>
  <td align="right">author:&nbsp;</td>
  <td>#author#</td></tr>
--- a/templates/changeset.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/changeset.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -12,13 +12,13 @@
 
 <table>
 <tr>
- <td class="metatag">revision:</td>
- <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+ <td class="metatag">changeset #rev#:</td>
+ <td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>
 #parent1#
 #parent2#
 <tr>
  <td class="metatag">manifest:</td>
- <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
+ <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest#</a></td></tr>
 <tr>
  <td class="metatag">author:</td>
  <td>#author#</td></tr>
--- a/templates/fileannotate.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/fileannotate.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -15,13 +15,13 @@
 
 <table>
 <tr>
- <td class="metatag">changeset:</td>
- <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+ <td class="metatag">changeset #rev#:</td>
+ <td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>
 #parent1#
 #parent2#
 <tr>
  <td class="metatag">manifest:</td>
- <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
+ <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest#</a></td></tr>
 <tr>
  <td class="metatag">author:</td>
  <td>#author#</td></tr>
--- a/templates/filediff.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/filediff.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -15,11 +15,11 @@
 
 <table>
 <tr>
- <td class="metatag">revision:</td>
- <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+ <td class="metatag">revision #rev#:</td>
+ <td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>
 <tr>
- <td class="metatag">parent:</td>
- <td><a href="?cmd=changeset;node=#p1#">#p1rev#:#p1#</a></td></tr>
+ <td class="metatag">parent #p1rev#:</td>
+ <td><a href="?cmd=changeset;node=#p1#">#p1#</a></td></tr>
 </table>
 
 <pre class="parity0">
--- a/templates/filelogentry.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/filelogentry.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -3,8 +3,8 @@
  <td align="right" width="15%"><b>#age# ago:&nbsp;</b></td>
  <td><b><a href="?cmd=changeset;node=#node#">#shortdesc#</a></b></td</tr>
 <tr>
- <td align="right">revision:&nbsp;</td>
- <td><a href="?cmd=file;file=#file#;filenode=#filenode#">#filerev#:#filenode#</a>
+ <td align="right">revision #filerev#:&nbsp;</td>
+ <td><a href="?cmd=file;file=#file#;filenode=#filenode#">#filenode#</a>
 <a href="?cmd=filediff;file=#file#;node=#node#">(diff)</a>
 <a href="?cmd=annotate;file=#file#;filenode=#filenode#">(annotate)</a>
 </td></tr>
--- a/templates/filerevision.tmpl	Thu May 26 10:11:05 2005 -0800
+++ b/templates/filerevision.tmpl	Thu May 26 11:15:05 2005 -0800
@@ -15,13 +15,13 @@
 
 <table>
 <tr>
- <td class="metatag">changeset:</td>
- <td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>
+ <td class="metatag">changeset #rev#:</td>
+ <td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>
 #parent1#
 #parent2#
 <tr>
  <td class="metatag">manifest:</td>
- <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#rev#:#manifest#</a></td></tr>
+ <td><a href="?cmd=manifest;manifest=#manifest#;path=/">#manifest#</a></td></tr>
 <tr>
  <td class="metatag">author:</td>
  <td>#author#</td></tr>
--- a/templates/map	Thu May 26 10:11:05 2005 -0800
+++ b/templates/map	Thu May 26 11:15:05 2005 -0800
@@ -21,7 +21,7 @@
 difflineminus = "<span class="minusline">#line#</span>"
 difflineat = "<span class="atline">#line#</span>"
 diffline = "#line#"
-changelogparent = "<tr><td align="right">parent:&nbsp;</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>"
-changesetparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#rev#:#node#</a></td></tr>"
-filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#rev#:#node#</a></td></tr>"
-fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#rev#:#node#</a></td></tr>"
+changelogparent = "<tr><td align="right">parent:&nbsp;</td><td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>"
+changesetparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=changeset;node=#node#">#node#</a></td></tr>"
+filerevparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=file;file=#file#;filenode=#node#">#node#</a></td></tr>"
+fileannotateparent = "<tr><td class="metatag">parent:</td><td><a href="?cmd=annotate;file=#file#;filenode=#node#">#node#</a></td></tr>"