changeset 29575:1cc5a918b7d8

spartan: make different blocks of annotated lines have different colors
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 16 Jul 2016 15:06:19 +0800
parents 0484dfa1e972
children d5067913f97b
files mercurial/templates/spartan/map
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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}