diff options
Diffstat (limited to 'template/en/default/admin/products/footer.html.tmpl')
-rw-r--r-- | template/en/default/admin/products/footer.html.tmpl | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl index 531e6c48e..480868abd 100644 --- a/template/en/default/admin/products/footer.html.tmpl +++ b/template/en/default/admin/products/footer.html.tmpl @@ -15,10 +15,11 @@ #%] [%# INTERFACE: - # name: string; the name of the product + # product: Bugzilla::Product Object; the product # - # classification: string; If classifications are enabled, then this is - # the currently selected classification + # classification: Bugzilla::Classification object ; If classifications + # are enabled, then this is the currently + # selected classification # # no_XXX_link: boolean; if defined, then don't show the corresponding # link. Supported parameters are: @@ -30,13 +31,13 @@ [% IF Param('useclassification') && classification %] [% classification_url_part = BLOCK %]&classification= - [%- classification FILTER url_quote %] + [%- classification.name FILTER url_quote %] [% END %] [% classification_url_part_start = BLOCK %]classification= - [%- classification FILTER url_quote %] + [%- classification.name FILTER url_quote %] [% END %] [% classification_text = BLOCK %] - of classification '[% classification FILTER html %]' + of classification '[% classification.name FILTER html %]' [% END %] [% END %] @@ -51,20 +52,22 @@ classification if they are enabled, but I'm just being paranoid %] [% IF Param('useclassification') && classification %] (<a title="Add a product to classification ' - [%- classification FILTER html %]'" + [%- classification.name FILTER html %]'" href="editproducts.cgi?action=add [%- classification_url_part %]">to - classification '[% classification FILTER html %]'</a>) + classification '[% classification.name FILTER html %]' + </a>) [% END %]. [% END %] -[% IF name && !no_edit_product_link %] +[% IF product && !no_edit_product_link %] Edit product <a - title="Edit Product '[% name FILTER html %]' - [% classification_text %]" + title="Edit Product '[% product.name FILTER html %]' + [%- classification_text %]" href="editproducts.cgi?action=edit&product= - [%- name FILTER url_quote %][% classification_url_part %]"> - '[% name FILTER html %]'</a>. + [%- product.name FILTER url_quote %] + [%- classification_url_part %]"> + '[% product.name FILTER html %]'</a>. [% END %] @@ -80,7 +83,7 @@ [% IF Param('useclassification') && classification %] Edit classification <a href="editclassifications.cgi?action=edit [%- classification_url_part %]">' - [%- classification FILTER html %]'</a>. + [%- classification.name FILTER html %]'</a>. [% END %] |