From d36dd3fb0b093943ac859a44789ff008956ddfe4 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 10 Mar 2007 02:58:43 +0000 Subject: Bug 370687: Creating, editing or deleting a product should display its name in the title of the page - Patch by Frédéric Buclin r=vladd a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/admin/products/created.html.tmpl | 7 ++++--- template/en/default/admin/products/deleted.html.tmpl | 6 +++--- template/en/default/admin/products/edit.html.tmpl | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'template') 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 %] +
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 -- cgit v1.2.3-24-g4f1b