summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-10 03:58:43 +0100
committerlpsolit%gmail.com <>2007-03-10 03:58:43 +0100
commitd36dd3fb0b093943ac859a44789ff008956ddfe4 (patch)
treeec6fbb7acfbc7538086f085b0b543b38b3207793 /template/en
parentbbedda2778b5759c4be1971c697c4c4877211b81 (diff)
downloadbugzilla-d36dd3fb0b093943ac859a44789ff008956ddfe4.tar.gz
bugzilla-d36dd3fb0b093943ac859a44789ff008956ddfe4.tar.xz
Bug 370687: Creating, editing or deleting a product should display its name in the title of the page - Patch by Frédéric Buclin <LpSolit@gmail.com> r=vladd a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/products/created.html.tmpl7
-rw-r--r--template/en/default/admin/products/deleted.html.tmpl6
-rw-r--r--template/en/default/admin/products/edit.html.tmpl2
3 files changed, 8 insertions, 7 deletions
diff --git a/template/en/default/admin/products/created.html.tmpl b/template/en/default/admin/products/created.html.tmpl
index f19854200..c13ddc4e6 100644
--- a/template/en/default/admin/products/created.html.tmpl
+++ b/template/en/default/admin/products/created.html.tmpl
@@ -19,9 +19,10 @@
#
#%]
-[% PROCESS global/header.html.tmpl
- title = 'New Product Created'
-%]
+[% title = BLOCK %]New Product '[% product.name FILTER html %]' Created[% END %]
+
+[% PROCESS global/header.html.tmpl title = title %]
+
<br>
<div style='border: 1px red solid; padding: 1ex;'>
<b>You will need to
diff --git a/template/en/default/admin/products/deleted.html.tmpl b/template/en/default/admin/products/deleted.html.tmpl
index 049bcae0b..10867dba3 100644
--- a/template/en/default/admin/products/deleted.html.tmpl
+++ b/template/en/default/admin/products/deleted.html.tmpl
@@ -20,9 +20,9 @@
#
#%]
-[% PROCESS global/header.html.tmpl
- title = 'Deleting product'
-%]
+[% title = BLOCK %]Product '[% product.name FILTER html %]' Deleted[% END %]
+
+[% PROCESS global/header.html.tmpl title = title %]
[% IF product.bug_count %]
All references to deleted [% terms.bugs %] removed.
diff --git a/template/en/default/admin/products/edit.html.tmpl b/template/en/default/admin/products/edit.html.tmpl
index 72a5532aa..8816ed12b 100644
--- a/template/en/default/admin/products/edit.html.tmpl
+++ b/template/en/default/admin/products/edit.html.tmpl
@@ -27,7 +27,7 @@
# groups_controls: a hash of group controls related to the product.
#%]
-[% title = BLOCK %]Edit Product[% END %]
+[% title = BLOCK %]Edit Product '[% product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title