From 0d06b64ddb02bbfcc38c9ed88c400beb88e8b556 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 12 Sep 2005 20:50:41 +0000 Subject: Bug 306757: Templatize the 'new' section of editproducts.cgi - Patch by Gabriel Sales de Oliveira r=LpSolit a=justdave --- template/en/default/global/user-error.html.tmpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index be6108e81..b77e58d16 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -976,6 +976,11 @@ [% ELSIF error == "prod_name_already_in_use" %] [% title = "Product name already in use" %] The product name '[% product FILTER html %]' is already in use. + + [% ELSIF error == "prod_name_diff_in_case" %] + [% title = "Product name differs only in case" %] + The product name '[% product FILTER html %]' differs from existing + product '[% existing_product FILTER html %]' only in case. [% ELSIF error == "prod_must_define_defaultmilestone" %] [% title = "Must define new default milestone" %] @@ -990,6 +995,10 @@ create the milestone '[% defaultmilestone FILTER html %]' before it can be made the default milestone for product '[% product FILTER html %]'. + [% ELSIF error == "product_blank_name" %] + [% title = "Blank Product Name Not Allowed" %] + You must enter a name for the new product. + [% ELSIF error == "product_disabled" %] [% title = BLOCK %]Product closed for [% terms.Bugs %] Entry[% END %] Sorry, entering [% terms.bugs %] into the @@ -1006,6 +1015,10 @@ You must reassign those [% terms.bugs %] to another product before you can delete this one. + [% ELSIF error == "product_must_have_version" %] + [% title = "Product needs version" %] + You must enter a version for product '[% product FILTER html %]'. + [% ELSIF error == "product_not_specified" %] [% title = "No Product Specified" %] No product specified when trying to edit components, milestones, versions -- cgit v1.2.3-24-g4f1b