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/milestones/updated.html.tmpl | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'template/en/default/admin/milestones/updated.html.tmpl') diff --git a/template/en/default/admin/milestones/updated.html.tmpl b/template/en/default/admin/milestones/updated.html.tmpl index bfc09e210..4208e8d79 100644 --- a/template/en/default/admin/milestones/updated.html.tmpl +++ b/template/en/default/admin/milestones/updated.html.tmpl @@ -20,35 +20,29 @@ #%] [%# INTERFACE: + # product: object; Bugzilla::Product object representing the product to + # which the milestone belongs. # # 'updated_XXX' variables are booleans, and are defined if the # 'XXX' field was updated during the edit just being handled. - # Variables called just 'XXX' are strings, and are the _new_ contents - # of the fields. - # - # name & updated_name: the name of the milestone - # - # sortkey & updated_sortkey: the milestone sortkey - # - # product: string; the name of the product the milestone belongs to #%] -[% title = BLOCK %]Updating Milestone '[% name FILTER html %]' of Product - '[% product FILTER html %]'[% END %] +[% title = BLOCK %]Updating Milestone '[% milestone.name FILTER html %]' of Product + '[% product.name FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title %] [% IF updated_name %] -

Updated Milestone name to: '[% name FILTER html %]'.

+

Updated Milestone name to: '[% milestone.name FILTER html %]'.

[% END %] [% IF updated_sortkey %] -

Updated Milestone sortkey to: '[% sortkey FILTER html %]'.

+

Updated Milestone sortkey to: '[% milestone.sortkey FILTER html %]'.

[% END %] [% UNLESS updated_sortkey || updated_name %] -

Nothing changed for milestone '[% name FILTER html %]'. +

Nothing changed for milestone '[% milestone.name FILTER html %]'. [% END %]

-- cgit v1.2.3-24-g4f1b