From 5ecf8a501a52ce675d9990ede5d165f789a7e1fc Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 25 Jul 2006 07:23:33 +0000 Subject: Bug 343810: Remove Bugzilla::FlagType::get() and implement real flagtype objects - Patch by Frédéric Buclin a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/flag-type/confirm-delete.html.tmpl | 2 +- template/en/default/admin/flag-type/edit.html.tmpl | 7 ++++--- template/en/default/admin/flag-type/list.html.tmpl | 12 ++++++------ template/en/default/filterexceptions.pl | 2 +- template/en/default/global/code-error.html.tmpl | 4 ---- 5 files changed, 12 insertions(+), 15 deletions(-) (limited to 'template') diff --git a/template/en/default/admin/flag-type/confirm-delete.html.tmpl b/template/en/default/admin/flag-type/confirm-delete.html.tmpl index 99dba148e..fda34e3b1 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -29,7 +29,7 @@ %]

- There are [% flag_count %] flags of type [% name FILTER html %]. + There are [% flag_type.flag_count %] flags of type [% name FILTER html %]. If you delete this type, those flags will also be deleted. Note that instead of deleting the type you can deactivate it, diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 7f88c62bc..5985e8db0 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -192,7 +192,7 @@ the group allowed to grant/deny flags of this type (to allow all users to grant/deny these flags, select no group)
- [% PROCESS select selname = "grant_gid" %] + [% PROCESS select selname = "grant_group" %] @@ -202,7 +202,7 @@ if flags of this type are requestable, the group allowed to request them (to allow all users to request these flags, select no group)
Note that the request group alone has no effect if the grant group is not defined!
- [% PROCESS select selname = "request_gid" %] + [% PROCESS select selname = "request_group" %] @@ -232,7 +232,8 @@ [% FOREACH group = groups %] [% END %] diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 7ca897ecd..f578c3a17 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -51,7 +51,7 @@

You can restrict the list of flag types to those available for a given product and component. If a product is selected with no component, only flag types - which are available to ALL components of the product are shown. + which are available to at least one component of the product are shown.

@@ -59,8 +59,8 @@ - + [% FOREACH prod = products %]