diff options
author | lpsolit%gmail.com <> | 2007-10-10 17:00:18 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-10 17:00:18 +0200 |
commit | c02ab7f8bd9caf0dffaba6a88030ac57c21951a8 (patch) | |
tree | 34db9b4d5ba9c00e7f61555a5654902fe2bdcec5 /template/en/default/admin/milestones | |
parent | 7d05707cc6db24a30dc9325cd0f2cfe3d78d7440 (diff) | |
download | bugzilla-c02ab7f8bd9caf0dffaba6a88030ac57c21951a8.tar.gz bugzilla-c02ab7f8bd9caf0dffaba6a88030ac57c21951a8.tar.xz |
Bug 313129: Implement $milestone->create and $milestone->update based on Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/admin/milestones')
-rw-r--r-- | template/en/default/admin/milestones/updated.html.tmpl | 11 |
1 files changed, 5 insertions, 6 deletions
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 %] <p>Updated Milestone name to: '[% milestone.name FILTER html %]'.</p> [% END %] -[% IF updated_sortkey %] +[% IF changes.sortkey.defined %] <p>Updated Milestone sortkey to: '[% milestone.sortkey FILTER html %]'.</p> [% END %] -[% UNLESS updated_sortkey || updated_name %] +[% UNLESS changes.value.defined || changes.sortkey.defined %] <p>Nothing changed for milestone '[% milestone.name FILTER html %]'.</p> [% END %] |