summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-13 04:06:28 +0200
committerlpsolit%gmail.com <>2005-09-13 04:06:28 +0200
commit1161092ca5c84b39335f9c632c261efddcfaac93 (patch)
tree6c136d4d6cbd064bd61f20840fe02b0896954392
parentaf99ca82efac7367e862c7353a3536bd201f045f (diff)
downloadbugzilla-1161092ca5c84b39335f9c632c261efddcfaac93.tar.gz
bugzilla-1161092ca5c84b39335f9c632c261efddcfaac93.tar.xz
Bug 308150: admin/products/deleted.html.tmpl doesn't include admin/products/footer.html.tmpl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=GavinS a=justdave
-rwxr-xr-xeditproducts.cgi1
-rw-r--r--template/en/default/admin/products/deleted.html.tmpl4
-rw-r--r--template/en/default/admin/products/footer.html.tmpl2
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 %]&amp;classification=
[%- classification FILTER url_quote %]
[% END %]