From bf646df2bc21afc10dc0b074b13c8742ef43d461 Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Thu, 2 Mar 2006 06:10:22 +0000
Subject: Bug 311258: use objects in admin templates (products & co) - Patch by
André Batosti The component '
- [%- name FILTER html %]' has been created.
-[% IF deleted_bug_count %]
- [% deleted_bug_count %]
- [%- IF deleted_bug_count > 1 %]
- [% terms.bugs %]
+[% IF comp.bug_count %]
+ [% comp.bug_count FILTER none %]
+ [%- IF comp.bug_count > 1 %]
+ [%+ terms.bugs %]
[% ELSE %]
- [% terms.bug %]
+ [%+ terms.bug %]
[% END %]
deleted.
@@ -52,7 +50,7 @@
Flag inclusions and exclusions deleted. Component '[% name FILTER html %]' deleted. Component '[% comp.name FILTER html %]' deleted.
@@ -31,26 +30,26 @@
Add
- a new component to product '[% product FILTER html %]' Add
+ a new component to product '[% product.name FILTER html %]' Updated Default Assignee to: '[% initialowner FILTER html %]'. Updated Default Assignee to: '[% comp.initialowner FILTER html %]'.
[% IF initialqacontact %]
- Updated Default QA Contact to '[% initialqacontact FILTER html %]'.
+ Updated Default QA Contact to '[% comp.initialqacontact FILTER html %]'.
[% ELSE %]
Removed Default QA Contact.
[% END %]
@@ -68,12 +69,12 @@
[% END %]
[% IF updated_name %]
- Updated Component name to: '[% name FILTER html %]'. Updated Component name to: '[% comp.name FILTER html %]'. Nothing changed for component '[% name FILTER html %]'.
+ Nothing changed for component '[% comp.name FILTER html %]'.
[% END %]
diff --git a/template/en/default/admin/milestones/confirm-delete.html.tmpl b/template/en/default/admin/milestones/confirm-delete.html.tmpl
index 61601d185..6a7900e72 100644
--- a/template/en/default/admin/milestones/confirm-delete.html.tmpl
+++ b/template/en/default/admin/milestones/confirm-delete.html.tmpl
@@ -21,15 +21,13 @@
#%]
[%# INTERFACE:
- # name: string; The name of the milestone
- #
- # bug_count: number; The number of bugs targetted at the milestone
- #
- # product: string; The name of the product
- #
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone the user wants to delete.
#%]
-[% title = BLOCK %]Delete Milestone of Product '[% product FILTER html %]'
+[% title = BLOCK %]Delete Milestone of Product '[% product.name FILTER html %]'
[% END %]
[% PROCESS global/header.html.tmpl
@@ -43,20 +41,21 @@
The milestone 'The milestone '
- [%- name FILTER html %]' has been created.
diff --git a/template/en/default/admin/milestones/deleted.html.tmpl b/template/en/default/admin/milestones/deleted.html.tmpl
index 8db9b8943..bddae3136 100644
--- a/template/en/default/admin/milestones/deleted.html.tmpl
+++ b/template/en/default/admin/milestones/deleted.html.tmpl
@@ -21,25 +21,23 @@
#%]
[%# INTERFACE:
- # name: string; the name of the deleted milestone.
- #
- # product: string; the name of the product the milestone belonged to
- #
- # bug_count: number; the number of bugs which were reassigned to
- # the default milestone.
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone the user deleted.
#%]
-[% title = BLOCK %]Deleted Milestone '[% name FILTER html %]' of Product
- '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Deleted Milestone '[% milestone.name FILTER html %]' of Product
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
-[% IF bug_count %]
+[% IF milestone.bug_count %]
- [% bug_count %]
- [% IF bug_count > 1 %]
+ [% milestone.bug_count FILTER none %]
+ [% IF milestone.bug_count > 1 %]
[%+ terms.bugs %]
[% ELSE %]
[%+ terms.bug %]
@@ -51,7 +49,7 @@
[% END %]
Milestone '[% name FILTER html %]' deleted. Milestone '[% milestone.name FILTER html %]' deleted.
diff --git a/template/en/default/admin/milestones/edit.html.tmpl b/template/en/default/admin/milestones/edit.html.tmpl
index f49cacf4a..1fdea30e0 100644
--- a/template/en/default/admin/milestones/edit.html.tmpl
+++ b/template/en/default/admin/milestones/edit.html.tmpl
@@ -20,17 +20,16 @@
#%]
[%# INTERFACE:
- # name: string; The name of the milestone
- #
- # sortkey: number; milestone sortkey
- #
- # product: string; The product the milestone belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone the user wants to edit.
#%]
[% PROCESS global/variables.none.tmpl %]
-[% title = BLOCK %]Edit Milestone '[% name FILTER html %]' of product '
- [%- product FILTER html %]'[% END %]
+[% title = BLOCK %]Edit Milestone '[% milestone.name FILTER html %]' of product '
+ [%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
onload = "document.forms['f'].milestone.select()"
@@ -42,19 +41,19 @@
Component of Product:
- [% prod.name FILTER html %]
+ [% product.name FILTER html %]
-[% IF prod.description %]
+[% IF product.description %]
Product Description:
- [% prod.description FILTER html %]
+ [% product.description FILTER html %]
[% END %]
[% IF Param('usetargetmilestone') %]
@@ -74,8 +74,8 @@
Product Milestone URL:
-
- [% prod.milestone_url FILTER html %]
+
+ [% product.milestone_url FILTER html %]
[% END %]
@@ -83,7 +83,7 @@
Closed for [% terms.bugs %]:
- [% IF prod.disallow_new %]Yes[% ELSE %]No[% END %]
+ [% IF product.disallow_new %]Yes[% ELSE %]No[% END %]
[% terms.Bugs %]:
@@ -91,7 +91,7 @@
[% IF comp.bug_count %]
[% comp.bug_count %]
+ [%- product.name FILTER url_quote %]">[% comp.bug_count %]
[% ELSE %]
None
[% END %]
@@ -148,15 +148,12 @@
[% END %]
-[% PROCESS admin/components/footer.html.tmpl
- name = comp.name
- product = prod.name
-%]
+[% PROCESS admin/components/footer.html.tmpl %]
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl
index ea4380d50..fa4c05c14 100644
--- a/template/en/default/admin/components/create.html.tmpl
+++ b/template/en/default/admin/components/create.html.tmpl
@@ -20,12 +20,13 @@
#%]
[%# INTERFACE:
- # product: string; name of product
+ # product: object; Bugzilla::Product object representing the product to
+ # which the component belongs.
#%]
-[% title = BLOCK %]Add component to Product '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Add component to Product '[% product.name FILTER html %]'[% END %]
[% h2 = BLOCK %]This page allows you to add a new component to product
- '[% product FILTER html %]'.[% END %]
+ '[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
h2 = h2
@@ -81,7 +82,7 @@
-
+
diff --git a/template/en/default/admin/components/created.html.tmpl b/template/en/default/admin/components/created.html.tmpl
index 54963065d..090cfd87e 100644
--- a/template/en/default/admin/components/created.html.tmpl
+++ b/template/en/default/admin/components/created.html.tmpl
@@ -20,20 +20,21 @@
#%]
[%# INTERFACE:
- # name: string; the name of the newly created component
- #
- # product: string; the name of the product the component belongs to
+ # comp: object; Bugzilla::Component object representing the component the
+ # user created.
+ # product: object; Bugzilla::Product object representing the product to
+ # which the component belongs.
#%]
[% title = BLOCK %]Adding new Component of Product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
Edit
-[% IF name && !no_edit_component_link %]
+[% IF comp && !no_edit_component_link %]
component
- '[% name FILTER html %]'
+ [%- product.name FILTER url_quote %]&component=[% comp.name FILTER url_quote %]">
+ '[% comp.name FILTER html %]'
or edit
[% END %]
[% IF !no_edit_other_components_link %]
other components of product '[% product FILTER html %]',
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]',
or edit
[% END %]
product '[% product FILTER html %]'.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.
diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl
index 0b4998679..c0862eb73 100644
--- a/template/en/default/admin/components/list.html.tmpl
+++ b/template/en/default/admin/components/list.html.tmpl
@@ -21,25 +21,25 @@
#%]
[%# INTERFACE:
- # components: array of component objects
# showbugcounts: if defined, then bug counts should be included in the table
- # product: string; the name of the product we are editing components for
+ # product: object; Bugzilla::Product object representing the product to
+ # which the component belongs.
#%]
[% PROCESS global/variables.none.tmpl %]
[% title = BLOCK %]Select component of product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
[% edit_contentlink = BLOCK %]editcomponents.cgi?action=edit&product=
- [%- product FILTER url_quote %]&component=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&component=%%name%%[% END %]
[% delete_contentlink = BLOCK %]editcomponents.cgi?action=del&product=
- [%- product FILTER url_quote %]&component=%%name%%[% END %]
+ [%- product.name FILTER url_quote %]&component=%%name%%[% END %]
[% bug_count_contentlink = BLOCK %]buglist.cgi?component=%%name%%&product=
- [%- product FILTER url_quote %][% END %]
+ [%- product.name FILTER url_quote %][% END %]
[% columns = [
@@ -90,7 +90,7 @@
[% overrides.initialowner = [] %]
[% overrides.initialqacontact = [] %]
-[% FOREACH component = components %]
+[% FOREACH component = product.components %]
[% overrides.initialowner.push({
match_value => component.name
match_field => 'name'
@@ -109,16 +109,16 @@
[% PROCESS admin/table.html.tmpl
columns = columns
- data = components
+ data = product.components
overrides = overrides
%]
-
[% END %]
[% IF updated_initialowner %]
-
Updated description to:
- '[% description FILTER html %]'
+ '[% comp.description FILTER html %]'
Milestone:
- [% name FILTER html %]
+ [% milestone.name FILTER html %]
Milestone of Product:
- [% product FILTER html %]
+ [% product.name FILTER html %]
[% terms.Bugs %]:
-[% IF bug_count %]
+[% IF milestone.bug_count %]
[% bug_count %]
+ [% milestone.name FILTER html %]'"
+ href="buglist.cgi?target_milestone=[% milestone.name FILTER url_quote %]&product=
+ [%- product.name FILTER url_quote %]">
+ [% milestone.bug_count FILTER none %]
[% ELSE %]
None
[% END %]
@@ -66,13 +65,13 @@
Confirmation
-[% IF bug_count %]
+[% IF milestone.bug_count %]
-
+
diff --git a/template/en/default/admin/milestones/created.html.tmpl b/template/en/default/admin/milestones/created.html.tmpl
index 87e08cebe..33d2bcba6 100644
--- a/template/en/default/admin/milestones/created.html.tmpl
+++ b/template/en/default/admin/milestones/created.html.tmpl
@@ -20,22 +20,24 @@
#%]
[%# INTERFACE:
- # name: string; the name of the newly created milestone
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone the user created.
#
- # product: string; the name of the product the milestone belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
#%]
[% title = BLOCK %]Adding new Milestone of Product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
-
There
- [% IF bug_count > 1 %]
- are [% bug_count %] [%+ terms.bugs %]
+ [% IF milestone.bug_count > 1 %]
+ are [% milestone.bug_count FILTER none %] [%+ terms.bugs %]
[% ELSE %]
is 1 [% terms.bug %]
[% END %]
@@ -89,8 +88,8 @@
[% PROCESS admin/milestones/footer.html.tmpl %]
diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl
index d8779dd54..99a7f833a 100644
--- a/template/en/default/admin/milestones/create.html.tmpl
+++ b/template/en/default/admin/milestones/create.html.tmpl
@@ -20,12 +20,13 @@
#%]
[%# INTERFACE:
- # product: string; name of the product the milestone is being created for
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
#%]
-[% title = BLOCK %]Add Milestone to Product '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Add Milestone to Product '[% product.name FILTER html %]'[% END %]
[% h2 = BLOCK %]This page allows you to add a new milestone to product
- '[% product FILTER html %]'.[% END %]
+ '[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
h2 = h2
@@ -47,7 +48,7 @@
+ [%- milestone.name FILTER html %]">
-
+
-
+
diff --git a/template/en/default/admin/milestones/footer.html.tmpl b/template/en/default/admin/milestones/footer.html.tmpl
index 8980d642e..48a4d950a 100644
--- a/template/en/default/admin/milestones/footer.html.tmpl
+++ b/template/en/default/admin/milestones/footer.html.tmpl
@@ -20,10 +20,11 @@
#%]
[%# INTERFACE:
- # name: string; the name of the milestone
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
#
- # product: string; the name of the product which the milestone
- # belongs/belonged to
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone.
#
# no_XXX_link: boolean; if defined, then don't show the corresponding
# link. Supported parameters are:
@@ -38,29 +39,30 @@
+ [%- milestone.sortkey FILTER html %]">
[% UNLESS no_add_milestone_link %]
- Add a milestone.
+ [%- product.name FILTER url_quote %]">Add a milestone.
[% END %]
-[% IF name && !no_edit_milestone_link %]
+[% IF milestone.name && !no_edit_milestone_link %]
Edit milestone
- '[% name FILTER html %]'.
+ [%- product.name FILTER url_quote %]&milestone=
+ [%- milestone.name FILTER url_quote %]">
+ '[% milestone.name FILTER html %]'.
[% END %]
[% UNLESS no_edit_other_milestones_link %]
Edit other milestones of product '[% product FILTER html %]'.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.
[% END %]
Edit product '[% product FILTER html %]'.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.
+
Redisplay table with [% terms.bug %] counts (slower) Updated Milestone name to: '[% name FILTER html %]'. Updated Milestone name to: '[% milestone.name FILTER html %]'. Updated Milestone sortkey to: '[% sortkey FILTER html %]'. Updated Milestone sortkey to: '[% milestone.sortkey FILTER html %]'. Nothing changed for milestone '[% name FILTER html %]'.
+ Nothing changed for milestone '[% milestone.name FILTER html %]'.
[% END %]
diff --git a/template/en/default/admin/versions/confirm-delete.html.tmpl b/template/en/default/admin/versions/confirm-delete.html.tmpl
index 34ada607b..a3e8f8d62 100644
--- a/template/en/default/admin/versions/confirm-delete.html.tmpl
+++ b/template/en/default/admin/versions/confirm-delete.html.tmpl
@@ -21,15 +21,13 @@
#%]
[%# INTERFACE:
- # name: string; The name of the version
- #
- # bug_count: number; The number of bugs targetted at the version
- #
- # product: string; The name of the product
- #
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # version the user wants to delete.
#%]
-[% title = BLOCK %]Delete Version of Product '[% product FILTER html %]'
+[% title = BLOCK %]Delete Version of Product '[% product.name FILTER html %]'
[% END %]
[% PROCESS global/header.html.tmpl
@@ -43,20 +41,21 @@
The version 'The version '
- [%- name FILTER html %]' has been created.
diff --git a/template/en/default/admin/versions/deleted.html.tmpl b/template/en/default/admin/versions/deleted.html.tmpl
index 2ec3ebe10..ab75d0a5b 100644
--- a/template/en/default/admin/versions/deleted.html.tmpl
+++ b/template/en/default/admin/versions/deleted.html.tmpl
@@ -20,19 +20,19 @@
#%]
[%# INTERFACE:
- # name: string; the name of the deleted version.
- #
- # product: string; the name of the product the version belonged to
- #
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # version the user deleted.
#%]
-[% title = BLOCK %]Deleted Version '[% name FILTER html %]' of Product
- '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Deleted Version '[% version.name FILTER html %]' of Product
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
- Version '[% name FILTER html %]' deleted. Version '[% version.name FILTER html %]' deleted.
diff --git a/template/en/default/admin/versions/edit.html.tmpl b/template/en/default/admin/versions/edit.html.tmpl
index ef1fbd270..eff3d92ad 100644
--- a/template/en/default/admin/versions/edit.html.tmpl
+++ b/template/en/default/admin/versions/edit.html.tmpl
@@ -20,15 +20,16 @@
#%]
[%# INTERFACE:
- # name: string; The name of the version
- #
- # product: string; The product the version belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # version the user wants to edit.
#%]
[% PROCESS global/variables.none.tmpl %]
-[% title = BLOCK %]Edit Version '[% name FILTER html %]' of product '
- [%- product FILTER html %]'[% END %]
+[% title = BLOCK %]Edit Version '[% version.name FILTER html %]' of product '
+ [%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
@@ -39,14 +40,14 @@
Version:
- [% name FILTER html %]
+ [% version.name FILTER html %]
Version of Product:
- [% product FILTER html %]
+ [% product.name FILTER html %]
[% terms.Bugs %]:
-[% IF bug_count %]
+[% IF version.bug_count %]
[% bug_count %]
+ [%- version.name FILTER html %]'"
+ href="buglist.cgi?version=[% version.name FILTER url_quote %]&product=
+ [%- product.name FILTER url_quote %]">
+ [%- version.bug_count FILTER none %]
[% ELSE %]
None
[% END %]
@@ -66,18 +65,18 @@
Confirmation
-[% IF bug_count %]
+[% IF version.bug_count %]
Sorry, there
- [% IF bug_count > 1 %]
- are [% bug_count %] [%+ terms.bugs %]
+ [% IF version.bug_count > 1 %]
+ are [% version.bug_count FILTER none %] [%+ terms.bugs %]
[% ELSE %]
- is [% bug_count %] [%+ terms.bug %]
+ is [% version.bug_count FILTER none %] [%+ terms.bug %]
[% END %]
outstanding for this version. You must move
- [% IF bug_count > 1 %]
+ [% IF version.bug_count > 1 %]
those [% terms.bugs %]
[% ELSE %]
that [% terms.bug %]
@@ -91,8 +90,8 @@
[% END %]
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index 594bf4f87..614996300 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -20,12 +20,13 @@
#%]
[%# INTERFACE:
- # product: string; name of the product the version is being created for
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version is being created for
#%]
-[% title = BLOCK %]Add Version to Product '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Add Version to Product '[% product.name FILTER html %]'[% END %]
[% h2 = BLOCK %]This page allows you to add a new version to product
- '[% product FILTER html %]'.[% END %]
+ '[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
h2 = h2
@@ -41,7 +42,7 @@
-
+
diff --git a/template/en/default/admin/versions/created.html.tmpl b/template/en/default/admin/versions/created.html.tmpl
index 84445cccd..597ac119f 100644
--- a/template/en/default/admin/versions/created.html.tmpl
+++ b/template/en/default/admin/versions/created.html.tmpl
@@ -20,22 +20,23 @@
#%]
[%# INTERFACE:
- # name: string; the name of the newly created version
- #
- # product: string; the name of the product the version belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # newly created version
#%]
[% title = BLOCK %]Adding new Version of Product
- '[% product FILTER html %]'[% END %]
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
-
-
+
-
+
diff --git a/template/en/default/admin/versions/footer.html.tmpl b/template/en/default/admin/versions/footer.html.tmpl
index 252005697..cf5e16ddd 100644
--- a/template/en/default/admin/versions/footer.html.tmpl
+++ b/template/en/default/admin/versions/footer.html.tmpl
@@ -20,10 +20,9 @@
#%]
[%# INTERFACE:
- # name: string; the name of the version
- #
- # product: string; the name of the product which the version
- # belongs/belonged to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the version
#
# no_XXX_link: boolean; if defined, then don't show the corresponding
# link. Supported parameters are:
@@ -38,29 +37,30 @@
+ [%- version.name FILTER html %]">
[% UNLESS no_add_version_link %]
- Add a version.
+ [%- product.name FILTER url_quote %]">Add a version.
[% END %]
-[% IF name && !no_edit_version_link %]
+[% IF version.name && !no_edit_version_link %]
Edit version
- '[% name FILTER html %]'.
+ [%- product.name FILTER url_quote %]&version=
+ [%- version.name FILTER url_quote %]">
+ '[% version.name FILTER html %]'.
[% END %]
[% UNLESS no_edit_other_versions_link %]
Edit other versions of product '[% product FILTER html %]'.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.
[% END %]
Edit product '[% product FILTER html %]'.
+ [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'.
[% IF ! showbugcounts %] -
+
Redisplay table with [% terms.bug %] counts (slower) Updated Version name to: '[% name FILTER html %]'. Updated Version name to: '[% version.name FILTER html %]'. Nothing changed for version '[% name FILTER html %]'.
+ Nothing changed for version '[% version.name FILTER html %]'.
[% END %]
diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl
index 40a96e70b..b22782147 100644
--- a/template/en/default/filterexceptions.pl
+++ b/template/en/default/filterexceptions.pl
@@ -557,10 +557,6 @@
'comp.bug_count'
],
-'admin/components/deleted.html.tmpl' => [
- 'deleted_bug_count'
-],
-
'admin/users/confirm-delete.html.tmpl' => [
'andstring',
'responsibilityterms.$responsibility',
@@ -591,18 +587,6 @@
'comp.bug_count'
],
-'admin/milestones/confirm-delete.html.tmpl' => [
- 'bug_count'
-],
-
-'admin/milestones/deleted.html.tmpl' => [
- 'bug_count'
-],
-
-'admin/versions/confirm-delete.html.tmpl' => [
- 'bug_count'
-],
-
'admin/settings/edit.html.tmpl' => [
'name',
'checkbox_name'
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 390c6b12c..3f2a54146 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -778,8 +778,9 @@
[% title = "Default milestone not deletable" %]
[% admindocslinks = {'products.html' => 'Administering products',
'milestones.html' => 'About Milestones'} %]
- Sorry, but [% name FILTER html %] is the default milestone for
- product '[% product FILTER html %]', and so it can not be deleted.
+ Sorry, but [% milestone.name FILTER html %] is the default milestone
+ for product '[% product.name FILTER html %]', and so it can not be
+ deleted.
[% ELSIF error == "milestone_name_too_long" %]
[% title = "Milestone Name Is Too Long" %]
--
cgit v1.2.3-24-g4f1b