From ea7030a701bfdb503df542c3d7e814b8ea702929 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Thu, 17 Feb 2005 00:16:35 +0000 Subject: Bug 271276 : Cannot enter negative time for 'Hours Worked' Patch by Shane H. W. Travis r=LpSolit a=justdave --- template/en/default/global/user-error.html.tmpl | 27 ++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'template/en/default/global/user-error.html.tmpl') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index e849e7827..41661886c 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -715,15 +715,6 @@ You must specify a component to help determine the new owner of these [% terms.bugs %]. - [% ELSIF error == "need_numeric_value" %] - [% title = "Numeric Value Required" %] - Hours requires a numeric value. - - [% ELSIF error == "need_positive_number" %] - [% title = "Positive Number Required" %] - The [% field_descs.$field FILTER html %] field requires a positive - number. - [% ELSIF error == "need_product" %] [% title = "Product Required" %] You must specify a product to help determine the new owner of these [% terms.bugs %]. @@ -800,6 +791,24 @@ Either no products have been defined to enter [% terms.bugs %] against or you have not been given access to any. + [% ELSIF error == "number_not_numeric" %] + [% title = "Numeric Value Required" %] + The value '[% num FILTER html %]' in the + [% field_descs.$field FILTER html %] field + is not a numeric value. + + [% ELSIF error == "number_too_large" %] + [% title = "Number Too Large" %] + The value '[% num FILTER html %]' in the + [% field_descs.$field FILTER html %] field + is more than the maximum allowable value of '[% max_num FILTER html %]'. + + [% ELSIF error == "number_too_small" %] + [% title = "Number Too Small" %] + The value '[% num FILTER html %]' + in the [% field_descs.$field FILTER html %] field + is less than the minimum allowable value of '[% min_num FILTER html %]'. + [% ELSIF error == "old_password_incorrect" %] [% title = "Incorrect Old Password" %] You did not enter your old password correctly. -- cgit v1.2.3-24-g4f1b