##// END OF EJS Templates
hgweb: Changed file page to list format syntax
Josef "Jeff" Sipek -
r976:5d5ab159 default
parent child Browse files
Show More
@@ -431,9 +431,9 b' class hgweb:'
431
431
432 def lines():
432 def lines():
433 for l, t in enumerate(text.splitlines(1)):
433 for l, t in enumerate(text.splitlines(1)):
434 yield self.t("fileline", line = t,
434 yield {"line": t,
435 linenumber = "% 6d" % (l + 1),
435 "linenumber": "% 6d" % (l + 1),
436 parity = l & 1)
436 "parity": l & 1}
437
437
438 yield self.t("filerevision", file = f,
438 yield self.t("filerevision", file = f,
439 filenode = node,
439 filenode = node,
@@ -35,7 +35,7 b''
35 </table>
35 </table>
36
36
37 <pre>
37 <pre>
38 #text#
38 #text%fileline#
39 </pre>
39 </pre>
40
40
41 #footer#
41 #footer#
General Comments 0
You need to be logged in to leave comments. Login now