diff options
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 %] |