From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- .../en/default/reports/duplicates-table.html.tmpl | 26 ++++++++++++---------- 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'template/en/default/reports/duplicates-table.html.tmpl') diff --git a/template/en/default/reports/duplicates-table.html.tmpl b/template/en/default/reports/duplicates-table.html.tmpl index 073399ad6..0ebd2b4de 100644 --- a/template/en/default/reports/duplicates-table.html.tmpl +++ b/template/en/default/reports/duplicates-table.html.tmpl @@ -31,36 +31,38 @@ # short_desc: string. The bug's summary. # bug_status: string. The bug's status. # resolution: string. The bug's resolution, if any. - # + # # bug_ids: list of integers. May be empty. The IDs of the bugs in $bugs. - # + # # sortby: string. the column on which we are sorting the buglist. # reverse: boolean. True if we are reversing the current sort. # maxrows: integer. Max number of rows to display. # changedsince: integer. The number of days ago for the changedsince column. - # openonly: boolean. True if we are only showing open bugs. + # openonly: boolean. True if we are only showing open bugs. # product: string. Restrict to this product only. #%] - + +[% PROCESS global/variables.none.tmpl %] + [%# *** Column Headers *** %] [% IF bug_ids.size > 0 %] - [% FOREACH column = [ { name => "id", description => "Bug #" }, + [% FOREACH column = [ { name => "id", description => "$terms.Bug #" }, { name => "count", description => "Dupe
Count" }, - { name => "delta", + { name => "delta", description => "Change in last
$changedsince day(s)" }, { name => "component", description => "Component" }, { name => "bug_severity", description => "Severity" }, - { name => "op_sys", description => "Op Sys" }, - { name => "target_milestone", + { name => "op_sys", description => "Op Sys" }, + { name => "target_milestone", description => "Target
Milestone" }, - { name => "short_desc", description => "Summary" } ] + { 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 %] + [% NEXT IF column.name == "delta" AND NOT dobefore %]
@@ -112,7 +114,7 @@ [% FOREACH bug = bugs %] [% LAST IF loop.index() >= maxrows %] - [% vis_bug_ids.push(bug.id) %] + [% vis_bug_ids.push(bug.id) %]
@@ -143,5 +145,5 @@
[% ELSE %] -

No duplicate bugs found.

+

No duplicate [% terms.bugs %] found.

[% END %] -- cgit v1.2.3-24-g4f1b