summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/versions/create.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/create.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/create.html.tmpl')
-rw-r--r--template/en/default/admin/versions/create.html.tmpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index 594bf4f87..614996300 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -20,12 +20,13 @@
#%]
[%# INTERFACE:
- # product: string; name of the product the version is being created for
+ # product: object; Bugzilla::Product object representing the product to
+ # which the version is being created for
#%]
-[% title = BLOCK %]Add Version to Product '[% product FILTER html %]'[% END %]
+[% title = BLOCK %]Add Version to Product '[% product.name FILTER html %]'[% END %]
[% h2 = BLOCK %]This page allows you to add a new version to product
- '[% product FILTER html %]'.[% END %]
+ '[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
h2 = h2
@@ -41,7 +42,7 @@
</table>
<input type="submit" value="Add">
<input type="hidden" name="action" value="new">
- <input type="hidden" name='product' value="[% product FILTER html %]">
+ <input type="hidden" name='product' value="[% product.name FILTER html %]">
</form>