chiark / gitweb /
Reverse alternating colours in route plan
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 2 Sep 2009 22:43:19 +0000 (23:43 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Wed, 2 Sep 2009 22:43:19 +0000 (23:43 +0100)
yarrg/web/routetrade

index cb7550e..482c13a 100644 (file)
@@ -643,7 +643,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw(
      }
 
      my $total;
-     my $dline= 0;
+     my $dline= 1;
      my $show_flows= sub {
        my ($od,$arbitrage,$collectdeliver) = @_;
 </%perl>
@@ -699,7 +699,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw(
 %              $total_total += $sign * $total;
 %      }
 %      $total= undef;
-%      $dline= 0;
+%      $dline= 1;
 <%perl>
      };