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 r=LpSolit a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/components/edit.html.tmpl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'template/en/default/admin/components/edit.html.tmpl') diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 920ad1ff6..22b7295dd 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -22,7 +22,7 @@ [%# INTERFACE: # comp: object; Bugzilla::Component object representing the component the # user wants to edit. - # prod: object; Bugzilla::Product object representing the product to + # product: object; Bugzilla::Product object representing the product to # which the component belongs. #%] @@ -88,7 +88,7 @@ [% comp.bug_count %] + [%- product.name FILTER url_quote %]">[% comp.bug_count %] [% ELSE %] None [% END %] @@ -99,18 +99,16 @@ - + or Delete this component. [% PROCESS admin/components/footer.html.tmpl no_edit_component_link = 1 - name = comp.name - product = prod.name %] [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b