From 841b5d3961f31277c424a4432fc51f0ac4bf093f Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 6 Sep 2009 22:45:51 +0000 Subject: Bug 176002: Move duplicate statistics into the db Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/global/user-error.html.tmpl | 25 ---------------------- .../en/default/reports/duplicates-table.html.tmpl | 7 +----- 2 files changed, 1 insertion(+), 31 deletions(-) (limited to 'template/en') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c4eefb4aa..3783e523b 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1168,31 +1168,6 @@ [% title = "No Tag Selected" %] You didn't select a tag from which to remove [% terms.bugs %]. - [% ELSIF error == "no_dupe_stats" %] - [% title = "Cannot Find Duplicate Statistics" %] - [% admindocslinks = {'extraconfig.html' => 'Setting up the collecstats.pl job'} %] - There are no duplicate statistics for today ([% today FILTER html %]) - or yesterday. - - [% ELSIF error == "no_dupe_stats_error_today" %] - [% title = "Error Reading Today's Dupes File" %] - [% admindocslinks = {'extraconfig.html' => 'Setting up the collecstats.pl job'} %] - An error occurred opening today's dupes file: [% error_msg FILTER html %]. - - [% ELSIF error == "no_dupe_stats_error_whenever" %] - [% title = "Error Reading Previous Dupes File" %] - [% admindocslinks = {'extraconfig.html' => 'Setting up the collecstats.pl job'} %] - An error occurred opening [% changedsince FILTER html %] days ago - ([% whenever FILTER html %])'s dupes file: - [% error_msg FILTER html %]. - - [% ELSIF error == "no_dupe_stats_error_yesterday" %] - [% title = "Error Reading Yesterday's Dupes File" %] - [% admindocslinks = {'extraconfig.html' => 'Setting up the collecstats.pl job'} %] - There are no duplicate statistics for today ([% today FILTER html %]), - and an error - occurred opening yesterday's dupes file: [% error_msg FILTER html %]. - [% ELSIF error == "no_initial_bug_status" %] [% title = "No Initial $terms.Bug Status" %] No [% terms.bug %] status is available on [% terms.bug %] creation. diff --git a/template/en/default/reports/duplicates-table.html.tmpl b/template/en/default/reports/duplicates-table.html.tmpl index 5dbef2144..f651a7fd4 100644 --- a/template/en/default/reports/duplicates-table.html.tmpl +++ b/template/en/default/reports/duplicates-table.html.tmpl @@ -61,9 +61,6 @@ { name => "short_desc", description => "Summary" } ] %] - [%# Small hack to keep delta column out if we don't need it %] - [% NEXT IF column.name == "delta" AND NOT dobefore %] - [% bug_ids_string = bug_ids.join(',') %]