hgweb: Changed annotate page to list format syntax
authorJosef "Jeff" Sipek <jeffpc@optonline.net>
Wed, 17 Aug 2005 22:03:28 -0500
changeset 977 289975641886
parent 976 5d5ab159d197
child 978 ea67e5b37043
hgweb: Changed annotate page to list format syntax
mercurial/hgweb.py
templates/fileannotate.tmpl
--- 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#