# HG changeset patch # User df # Date 1233661722 0 # Node ID abcfe773943379d63126c5b31d0ead458ea0daac # Parent 229f009effc07803bfc193ddc0f88d3c3038ccf5 numer formatting and adding of isk in the alt text for all items diff -r 229f009effc0 -r abcfe7739433 reproctool.cgi --- a/reproctool.cgi Tue Feb 03 11:36:56 2009 +0000 +++ b/reproctool.cgi Tue Feb 03 11:48:42 2009 +0000 @@ -246,8 +246,13 @@ my $isk = ($trit * $ttrit) + ($pyer * $tpyer) + ($mexa * $tmexa) + ($isog * $tisog) + ($nocx * $tnocx) + ($zydr * $tzydr) + ($mega * $tmega) + ($morp * $tmorp); - my $repDetails = sprintf( "Trit=%d Py=%d Mex=%d Iso=%d Nocx=%d Zyd=%d Mega=%d Morp=%d", - $ttrit, $tpyer, $tmexa, $tisog, $tnocx, $tzydr, $tmega, $tmorp ); + my $repDetails = sprintf( "Trit=%s Py=%s Mex=%s Iso=%s Nocx=%s " . + "Zyd=%s Mega=%s Morp=%s Isk=%s", + pretty_numbers( $ttrit ), pretty_numbers( $tpyer ), + pretty_numbers( $tmexa ), pretty_numbers( $tisog ), + pretty_numbers( $tnocx ), pretty_numbers( $tzydr ), + pretty_numbers( $tmega ), pretty_numbers( $tmorp ), + pretty_numbers( $isk ) ); # End statistics. $totalTrit += $ttrit; $totalPyer += $tpyer; $totalMexa += $tmexa; @@ -368,7 +373,7 @@ $text = pretty_numbers($item->{reprocessIsk}); } - $alt .= " ($item->{reprocessDetails})"; + $alt .= " ($item->{reprocessDetails}) (ISK)"; } else {