changeset 977:289975641886

hgweb: Changed annotate page to list format syntax
author Josef "Jeff" Sipek <jeffpc@optonline.net>
date Wed, 17 Aug 2005 22:03:28 -0500
parents 5d5ab159d197
children ea67e5b37043
files mercurial/hgweb.py templates/fileannotate.tmpl
diffstat 2 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb.py	Wed Aug 17 21:59:02 2005 -0500
+++ b/mercurial/hgweb.py	Wed Aug 17 22:03:28 2005 -0500
@@ -487,13 +487,12 @@
                     parity = 1 - parity
                     last = cnode
 
-                yield self.t("annotateline",
-                             parity = parity,
-                             node = hex(cnode),
-                             rev = r,
-                             author = name,
-                             file = f,
-                             line = l)
+                yield {"parity": parity,
+                       "node": hex(cnode),
+                       "rev": r,
+                       "author": name,
+                       "file": f,
+                       "line": l}
 
         yield self.t("fileannotate",
                      file = f,
--- a/templates/fileannotate.tmpl	Wed Aug 17 21:59:02 2005 -0500
+++ b/templates/fileannotate.tmpl	Wed Aug 17 22:03:28 2005 -0500
@@ -36,7 +36,7 @@
 <br/>
 
 <table cellspacing="0" cellpadding="0">
-#annotate#
+#annotate%annotateline#
 </table>
 
 #footer#