diff options
author | lpsolit%gmail.com <> | 2006-03-02 06:10:22 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-02 06:10:22 +0000 |
commit | bf646df2bc21afc10dc0b074b13c8742ef43d461 (patch) | |
tree | 6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/components/created.html.tmpl | |
parent | 6efc4495cf42c61f31397374618ea55bd31a9983 (diff) | |
download | bugs-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar bugs-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.gz bugs-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.bz2 bugs-bf646df2bc21afc10dc0b074b13c8742ef43d461.tar.xz bugs-bf646df2bc21afc10dc0b074b13c8742ef43d461.zip |
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/components/created.html.tmpl')
-rw-r--r-- | template/en/default/admin/components/created.html.tmpl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/template/en/default/admin/components/created.html.tmpl b/template/en/default/admin/components/created.html.tmpl index 54963065d..090cfd87e 100644 --- a/template/en/default/admin/components/created.html.tmpl +++ b/template/en/default/admin/components/created.html.tmpl @@ -20,20 +20,21 @@ #%] [%# INTERFACE: - # name: string; the name of the newly created component - # - # product: string; the name of the product the component belongs to + # comp: object; Bugzilla::Component object representing the component the + # user created. + # product: object; Bugzilla::Product object representing the product to + # which the component belongs. #%] [% title = BLOCK %]Adding new Component of Product - '[% product FILTER html %]'[% END %] + '[% product.name FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title %] <p>The component '<a href="editcomponents.cgi?action=edit&product= - [%- product FILTER url_quote %]&component=[% name FILTER url_quote %]"> - [%- name FILTER html %]</a>' has been created.</p> + [%- product.name FILTER url_quote %]&component=[% comp.name FILTER url_quote %]"> + [%- comp.name FILTER html %]</a>' has been created.</p> [% PROCESS admin/components/footer.html.tmpl %] |