From: lpsolit%gmail.com <> Date: Sat, 10 Mar 2007 02:58:43 +0000 (+0000) Subject: Bug 370687: Creating, editing or deleting a product should display its name in the... X-Git-Tag: bugzilla-3.1.2~309 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d36dd3fb0b093943ac859a44789ff008956ddfe4;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/template/en/default/admin/products/created.html.tmpl b/template/en/default/admin/products/created.html.tmpl index f19854200f..c13ddc4e66 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 049bcae0bf..10867dba3a 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 72a5532aaf..8816ed12bd 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