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/updated.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/updated.html.tmpl')
-rw-r--r-- | template/en/default/admin/components/updated.html.tmpl | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/template/en/default/admin/components/updated.html.tmpl b/template/en/default/admin/components/updated.html.tmpl index b4c4fea3c..e05bc0973 100644 --- a/template/en/default/admin/components/updated.html.tmpl +++ b/template/en/default/admin/components/updated.html.tmpl @@ -23,22 +23,23 @@ # # 'updated_XXX' variables are booleans, and are defined if the # 'XXX' field was updated during the edit just being handled. - # Variables called just 'XXX' are strings, and are the _new_ contents - # of the fields. # - # name & updated_name: the name of the component + # updated_name: the name of the component updated # - # description & updated_description: the component description + # updated_description: the component description updated # - # initialowner & updated_initialowner: the default assignee + # updated_initialowner: the default assignee updated # - # initialqacontact & updated_initialqacontact: the default qa contact + # updated_initialqacontact: the default qa contact updated # - # product: string; the name of the product the component belongs to + # comp: object; Bugzilla::Component object representing the component + # user updated. + # product: object; Bugzilla::Product object representing the product to + # which the component belongs. #%] -[% title = BLOCK %]Updating Component '[% name FILTER html %]' of Product - '[% product FILTER html %]'[% END %] +[% title = BLOCK %]Updating Component '[% comp.name FILTER html %]' of Product + '[% product.name FILTER html %]'[% END %] [% PROCESS global/header.html.tmpl title = title %] @@ -48,19 +49,19 @@ <table> <tr> <td>Updated description to:</td> - <td>'[% description FILTER html %]'</td> + <td>'[% comp.description FILTER html %]'</td> </tr> </table> [% END %] [% IF updated_initialowner %] - <p>Updated Default Assignee to: '[% initialowner FILTER html %]'.</p> + <p>Updated Default Assignee to: '[% comp.initialowner FILTER html %]'.</p> [% END %] [% IF updated_initialqacontact %] <p> [% IF initialqacontact %] - Updated Default QA Contact to '[% initialqacontact FILTER html %]'. + Updated Default QA Contact to '[% comp.initialqacontact FILTER html %]'. [% ELSE %] Removed Default QA Contact. [% END %] @@ -68,12 +69,12 @@ [% END %] [% IF updated_name %] - <p>Updated Component name to: '[% name FILTER html %]'.</p> + <p>Updated Component name to: '[% comp.name FILTER html %]'.</p> [% END %] [% UNLESS updated_description || updated_initialowner || updated_initialqacontact || updated_name %] - <p>Nothing changed for component '[% name FILTER html %]'. + <p>Nothing changed for component '[% comp.name FILTER html %]'. [% END %] |