From 1ccc683d4d94ea70e763fbd4af9721cb4bca1c0d Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 2 Feb 2015 12:38:16 +0800 Subject: Bug 1123769: add a "rank" field to bugzilla to track priority --- template/en/default/global/field-descs.none.tmpl | 1 + template/en/default/global/user-error.html.tmpl | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'template/en/default/global') diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl index 6b365b35f..1b8b765bf 100644 --- a/template/en/default/global/field-descs.none.tmpl +++ b/template/en/default/global/field-descs.none.tmpl @@ -56,6 +56,7 @@ [% field_types = { ${constants.FIELD_TYPE_UNKNOWN} => "Unknown Type", ${constants.FIELD_TYPE_FREETEXT} => "Free Text", + ${constants.FIELD_TYPE_INTEGER} => "Integer", ${constants.FIELD_TYPE_SINGLE_SELECT} => "Drop Down", ${constants.FIELD_TYPE_MULTI_SELECT} => "Multiple-Selection Box", ${constants.FIELD_TYPE_TEXTAREA} => "Large Text Box", diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c36ae2c4c..938c4d44d 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1346,6 +1346,12 @@ Either no products have been defined to enter [% terms.bugs %] against or you have not been given access to any. + [% ELSIF error == "number_not_integer" %] + [% title = "Integer Value Required" %] + The value '[% num FILTER html %]' in the + [% field_descs.$field FILTER html %] field + is not an integer value (i.e. a whole number). + [% ELSIF error == "number_not_numeric" %] [% title = "Numeric Value Required" %] The value '[% num FILTER html %]' in the -- cgit v1.2.3-24-g4f1b