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/edit.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/edit.html.tmpl')
-rw-r--r-- | template/en/default/admin/components/edit.html.tmpl | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 920ad1ff6..22b7295dd 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -22,7 +22,7 @@ [%# INTERFACE: # comp: object; Bugzilla::Component object representing the component the # user wants to edit. - # prod: object; Bugzilla::Product object representing the product to + # product: object; Bugzilla::Product object representing the product to # which the component belongs. #%] @@ -88,7 +88,7 @@ <a title="Bugs in component '[% comp.name FILTER html %]'" href="buglist.cgi?component= [%- comp.name FILTER url_quote %]&product= - [%- prod.name FILTER url_quote %]">[% comp.bug_count %]</a> + [%- product.name FILTER url_quote %]">[% comp.bug_count %]</a> [% ELSE %] None [% END %] @@ -99,18 +99,16 @@ <input type="hidden" name="action" value="update"> <input type="hidden" name="componentold" value="[% comp.name FILTER html %]"> - <input type="hidden" name="product" value="[% prod.name FILTER html %]"> + <input type="hidden" name="product" value="[% product.name FILTER html %]"> <input type="submit" value="Update"> or <a href="editcomponents.cgi?action=del&product= - [%- prod.name FILTER url_quote %]&component= + [%- product.name FILTER url_quote %]&component= [%- comp.name FILTER url_quote %]">Delete</a> this component. </form> [% PROCESS admin/components/footer.html.tmpl no_edit_component_link = 1 - name = comp.name - product = prod.name %] [% PROCESS global/footer.html.tmpl %] |