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 --- .../en/default/admin/components/footer.html.tmpl | 23 +++++++++++----------- 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'template/en/default/admin/components/footer.html.tmpl') diff --git a/template/en/default/admin/components/footer.html.tmpl b/template/en/default/admin/components/footer.html.tmpl index 1f58622ae..dfc720921 100644 --- a/template/en/default/admin/components/footer.html.tmpl +++ b/template/en/default/admin/components/footer.html.tmpl @@ -20,10 +20,9 @@ #%] [%# INTERFACE: - # name: string; the name of the component - # - # product: string; the name of the product which the component - # belongs/belonged to + # comp: object; Bugzilla::Component object representing the component + # product: object; Bugzilla::Product object representing the product to + # which the component belongs. #%]

@@ -31,26 +30,26 @@


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 %]'.

-- cgit v1.2.3-24-g4f1b