From: Ian Jackson Date: Wed, 2 Sep 2009 22:43:19 +0000 (+0100) Subject: Reverse alternating colours in route plan X-Git-Tag: 3.4~20 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=commitdiff_plain;h=a7d3f0bd7f84b3b40a7a7860f467f2beda20a227;p=ypp-sc-tools.web-test.git Reverse alternating colours in route plan --- diff --git a/yarrg/web/routetrade b/yarrg/web/routetrade index cb7550e..482c13a 100644 --- a/yarrg/web/routetrade +++ b/yarrg/web/routetrade @@ -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) = @_; @@ -699,7 +699,7 @@ $addcols->({ Total => 0, DoReverse => 1 }, qw( % $total_total += $sign * $total; % } % $total= undef; -% $dline= 0; +% $dline= 1; <%perl> };