summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-09-07 00:45:51 +0200
committermkanat%bugzilla.org <>2009-09-07 00:45:51 +0200
commit841b5d3961f31277c424a4432fc51f0ac4bf093f (patch)
treebd54b8b6bf308f7f33840d6a06d668ea722a16ef /template/en
parent283d5785c782e3a79eb371cd6a223d19205bd175 (diff)
downloadbugzilla-841b5d3961f31277c424a4432fc51f0ac4bf093f.tar.gz
bugzilla-841b5d3961f31277c424a4432fc51f0ac4bf093f.tar.xz
Bug 176002: Move duplicate statistics into the db
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/global/user-error.html.tmpl25
-rw-r--r--template/en/default/reports/duplicates-table.html.tmpl7
2 files changed, 1 insertions, 31 deletions
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 %]
-
<th>
[% bug_ids_string = bug_ids.join(',') %]
<a href="duplicates.cgi?sortby=[% column.name %]
@@ -127,9 +124,7 @@
</center>
</td>
- [% IF dobefore %]
- <td><center>[% bug.delta %]</center></td>
- [% END %]
+ <td><center>[% bug.delta %]</center></td>
<td>[% bug.component FILTER html %]</td>
<td><center>[% bug.bug_severity FILTER html %]</center></td>