diff options
-rwxr-xr-x | editproducts.cgi | 1 | ||||
-rw-r--r-- | template/en/default/admin/products/deleted.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/admin/products/footer.html.tmpl | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 1197264c4..315dfd059 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -629,6 +629,7 @@ if ($action eq 'delete') { {product => $product}); $vars->{'product'} = $product; + $vars->{'classification'} = $classification; my $bug_ids = $dbh->selectcol_arrayref(q{ SELECT bug_id FROM bugs diff --git a/template/en/default/admin/products/deleted.html.tmpl b/template/en/default/admin/products/deleted.html.tmpl index 6b31dbb09..3252f97c9 100644 --- a/template/en/default/admin/products/deleted.html.tmpl +++ b/template/en/default/admin/products/deleted.html.tmpl @@ -38,4 +38,8 @@ Product [% product FILTER html %] deleted. </p> +[% PROCESS admin/products/footer.html.tmpl + no_edit_product_link = 1 +%] + [% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/products/footer.html.tmpl b/template/en/default/admin/products/footer.html.tmpl index 157e71582..531e6c48e 100644 --- a/template/en/default/admin/products/footer.html.tmpl +++ b/template/en/default/admin/products/footer.html.tmpl @@ -28,7 +28,7 @@ # no_add_product_link #%] -[% IF classification %] +[% IF Param('useclassification') && classification %] [% classification_url_part = BLOCK %]&classification= [%- classification FILTER url_quote %] [% END %] |