From bd010f7b3f40ce2c53a9fd40d8ef1519ebcb30c5 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 24 May 2023 10:43:05 +0200 Subject: remove diffstat column and setDiffstat function, since it broken since years. It uses the outdated url webwml.alioth.debian.org --- stattrans.pl | 3 --- 1 file changed, 3 deletions(-) (limited to 'stattrans.pl') diff --git a/stattrans.pl b/stattrans.pl index c02fb8a5b75..c9db9fda803 100755 --- a/stattrans.pl +++ b/stattrans.pl @@ -489,10 +489,8 @@ foreach $lang (@search_in) { } else { $o_body .= sprintf "%s", $hits, $base, $base; } - my $stattd = sprintf 'Click to fetch diffstat data\' onClick="setDiffstat(\'%s\', \'%s\', \'%s\', this)">+/-', $file, $transversion{"$lang/$file"}, $version{"$orig/$file"}; if (!defined $status_db{$lang}) { $o_body .= sprintf "%s", $msg; - $o_body .= $stattd; } if ($msg eq 'Wrong translation version' || $msg eq 'The original no longer exists') { if (defined $status_db{$lang}) { @@ -637,7 +635,6 @@ foreach $lang (@search_in) { print HTML 'Diff'; } else { print HTML 'Comment'."\n"; - print HTML 'Diffstat'."\n"; print HTML 'Git command line'; } print HTML 'Log'; -- cgit v1.2.3