diff options
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> |