diff options
author | lpsolit%gmail.com <> | 2006-03-02 07:10:22 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-02 07:10:22 +0100 |
commit | bf646df2bc21afc10dc0b074b13c8742ef43d461 (patch) | |
tree | 6e9955da4b5d96e907f5858e93ed4b7e07cdee54 /template/en/default/admin/versions/footer.html.tmpl | |
parent | 6efc4495cf42c61f31397374618ea55bd31a9983 (diff) | |
download | bugzilla-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/footer.html.tmpl')
-rw-r--r-- | template/en/default/admin/versions/footer.html.tmpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/template/en/default/admin/versions/footer.html.tmpl b/template/en/default/admin/versions/footer.html.tmpl index 252005697..cf5e16ddd 100644 --- a/template/en/default/admin/versions/footer.html.tmpl +++ b/template/en/default/admin/versions/footer.html.tmpl @@ -20,10 +20,9 @@ #%] [%# INTERFACE: - # name: string; the name of the version - # - # product: string; the name of the product which the version - # belongs/belonged to + # product: object; Bugzilla::Product object representing the product to + # which the version belongs. + # version: object; Bugzilla::Version object representing the version # # no_XXX_link: boolean; if defined, then don't show the corresponding # link. Supported parameters are: @@ -38,29 +37,30 @@ <hr> [% UNLESS no_add_version_link %] - <a title="Add a version to product '[% product FILTER html %]'" + <a title="Add a version to product '[% product.name FILTER html %]'" href="editversions.cgi?action=add&product= - [%- product FILTER url_quote %]">Add</a> a version. + [%- product.name FILTER url_quote %]">Add</a> a version. [% END %] -[% IF name && !no_edit_version_link %] +[% IF version.name && !no_edit_version_link %] Edit version <a - title="Edit Version '[% name FILTER html %]' of product ' - [%- product FILTER html %]'" + title="Edit Version '[% version.name FILTER html %]' of product ' + [%- product.name FILTER html %]'" href="editversions.cgi?action=edit&product= - [%- product FILTER url_quote %]&version=[% name FILTER url_quote %]"> - '[% name FILTER html %]'</a>. + [%- product.name FILTER url_quote %]&version= + [%- version.name FILTER url_quote %]"> + '[% version.name FILTER html %]'</a>. [% END %] [% UNLESS no_edit_other_versions_link %] Edit other versions of product <a href="editversions.cgi?product= - [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>. + [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>. [% END %] Edit product <a href="editproducts.cgi?action=edit&product= - [%- product FILTER url_quote %]">'[% product FILTER html %]'</a>. + [%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>. </p> |