From c02ab7f8bd9caf0dffaba6a88030ac57c21951a8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 10 Oct 2007 15:00:18 +0000 Subject: =?UTF-8?q?Bug=20313129:=20Implement=20$milestone->create=20and=20?= =?UTF-8?q?$milestone->update=20based=20on=20Object.pm=20-=20Patch=20by=20?= =?UTF-8?q?Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20?= =?UTF-8?q?=20r/a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/milestones/updated.html.tmpl | 11 +++++------ 1 file changed, 5 insertions(+), 6 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 3f86e2870..daa6581dd 100644 --- a/template/en/default/admin/milestones/updated.html.tmpl +++ b/template/en/default/admin/milestones/updated.html.tmpl @@ -19,11 +19,10 @@ #%] [%# INTERFACE: + # milestone: object; the milestone being edited. # 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. + # changes: hashref; contains changes made to the milestone. #%] [% title = BLOCK %]Updating Milestone '[% milestone.name FILTER html %]' of Product @@ -32,15 +31,15 @@ title = title %] -[% IF updated_name %] +[% IF changes.value.defined %]

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

[% END %] -[% IF updated_sortkey %] +[% IF changes.sortkey.defined %]

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

[% END %] -[% UNLESS updated_sortkey || updated_name %] +[% UNLESS changes.value.defined || changes.sortkey.defined %]

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

[% END %] -- cgit v1.2.1