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 --- .../admin/components/confirm-delete.html.tmpl | 25 ++++++++++------------ 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'template/en/default/admin/components/confirm-delete.html.tmpl') diff --git a/template/en/default/admin/components/confirm-delete.html.tmpl b/template/en/default/admin/components/confirm-delete.html.tmpl index dabace154..a0387352b 100644 --- a/template/en/default/admin/components/confirm-delete.html.tmpl +++ b/template/en/default/admin/components/confirm-delete.html.tmpl @@ -22,11 +22,11 @@ [%# INTERFACE: # comp: object; Bugzilla::Component object representing the component the # user wants to delete. - # prod: object; Bugzilla::Product object representing the product to + # product: object; Bugzilla::Product object representing the product to # which the component belongs. #%] -[% title = BLOCK %]Delete Component of Product '[% prod.name FILTER html %]' +[% title = BLOCK %]Delete Component of Product '[% product.name FILTER html %]' [% END %] [% PROCESS global/header.html.tmpl @@ -60,13 +60,13 @@ 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 %] -- cgit v1.2.3-24-g4f1b