spartan: make different blocks of annotated lines have different colors
authorAnton Shestakov <av6@dwimlabs.net>
Sat, 16 Jul 2016 15:06:19 +0800
changeset 29575 1cc5a918b7d8
parent 29574 0484dfa1e972
child 29576 d5067913f97b
spartan: make different blocks of annotated lines have different colors
mercurial/templates/spartan/map
--- a/mercurial/templates/spartan/map	Sat Jul 16 15:06:04 2016 +0800
+++ b/mercurial/templates/spartan/map	Sat Jul 16 15:06:19 2016 +0800
@@ -55,7 +55,7 @@
 # all table rows have equal height.
 annotateline = '
   <tr class="parity{parity}{ifeq(node, originalnode, ' thisrev')}">
-    <td class="annotate">
+    <td class="annotate parity{blockparity}">
       {if(blockhead,
           '<a href="{url|urlescape}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}">
              {rev}