Commit d36dd3fb authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 370687: Creating, editing or deleting a product should display its name in…

Bug 370687: Creating, editing or deleting a product should display its name in the title of the page - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=vladd a=LpSolit
parent bbedda27
......@@ -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
......
......@@ -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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment