summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/versions/updated.html.tmpl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
committerlpsolit%gmail.com <>2006-03-02 07:10:22 +0100
commitbf646df2bc21afc10dc0b074b13c8742ef43d461 (patch)
tree6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/versions/updated.html.tmpl
parent6efc4495cf42c61f31397374618ea55bd31a9983 (diff)
downloadbugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.gz
bugzilla-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.xz
Bug 311258: use objects in admin templates (products & co) - Patch by André Batosti <batosti@async.com.br> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/admin/versions/updated.html.tmpl')
-rw-r--r--template/en/default/admin/versions/updated.html.tmpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/template/en/default/admin/versions/updated.html.tmpl b/template/en/default/admin/versions/updated.html.tmpl
index 04851adae..5bae6bcf6 100644
--- a/template/en/default/admin/versions/updated.html.tmpl
+++ b/template/en/default/admin/versions/updated.html.tmpl
@@ -20,26 +20,26 @@
#%]
[%# INTERFACE:
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version belongs.
+ # version: object; Bugzilla::Version object representing the
+ # version the user updated.
#
# updated_name: boolean; defined if the 'name' field was updated
- #
- # name: string; the new name of the version
- #
- # product: string; the name of the product the version belongs to
#%]
-[% title = BLOCK %]Updating Version '[% name FILTER html %]' of Product
- '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Updating Version '[% version.name FILTER html %]' of Product
+ '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
%]
[% IF updated_name %]
- <p>Updated Version name to: '[% name FILTER html %]'.</p>
+ <p>Updated Version name to: '[% version.name FILTER html %]'.</p>
[% END %]
[% UNLESS updated_name %]
- <p>Nothing changed for version '[% name FILTER html %]'.
+ <p>Nothing changed for version '[% version.name FILTER html %]'.
[% END %]
<p>