From 3ebf812b9a5378b6920b04604273aaf9b5df6ac7 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 31 Oct 2006 07:49:48 +0000 Subject: Bug 357374: Can't locate object method "use_for" via package "Bugzilla::Group" - Patch by Frédéric Buclin r=kiko a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/groups/list.html.tmpl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'template/en/default/admin/groups') diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl index 9f4f129c4..617bbd3c1 100644 --- a/template/en/default/admin/groups/list.html.tmpl +++ b/template/en/default/admin/groups/list.html.tmpl @@ -52,7 +52,7 @@ {name => 'userregexp' heading => 'User RegExp' } - {name => 'use_for' + {name => 'is_active_bug_group' heading => "Use For $terms.Bugs" align => 'center' } @@ -66,15 +66,15 @@ ] %] -[% overrides.use_for = [ { +[% overrides.is_active_bug_group = [ { match_value => "0" - match_field => 'use_for' + match_field => 'is_active_bug_group' override_content => 1 content => " " }, { match_value => "1" - match_field => 'use_for' + match_field => 'is_active_bug_group' override_content => 1 content => "X" }] @@ -130,10 +130,6 @@ }] %] -[% FOREACH group = groups %] - [% group.use_for = (group.isactive != 0) && (group.isbuggroup) %] -[% END %] - [% PROCESS admin/table.html.tmpl columns = columns data = groups -- cgit v1.2.3-24-g4f1b