diff options
author | lpsolit%gmail.com <> | 2007-03-10 02:58:43 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-03-10 02:58:43 +0000 |
commit | d36dd3fb0b093943ac859a44789ff008956ddfe4 (patch) | |
tree | ec6fbb7acfbc7538086f085b0b543b38b3207793 /template | |
parent | Bug 362813: Missing labels in editflagtypes.cgi?action=edit - Patch by Fré... (diff) | |
download | bugzilla-d36dd3fb0b093943ac859a44789ff008956ddfe4.tar.gz bugzilla-d36dd3fb0b093943ac859a44789ff008956ddfe4.tar.bz2 bugzilla-d36dd3fb0b093943ac859a44789ff008956ddfe4.zip |
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')
-rw-r--r-- | template/en/default/admin/products/created.html.tmpl | 7 | ||||
-rw-r--r-- | template/en/default/admin/products/deleted.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/admin/products/edit.html.tmpl | 2 |
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 |