summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-02-26 23:33:45 +0100
committerSimon Green <sgreen@redhat.com>2014-02-26 23:33:45 +0100
commit3776f86ebdfb6169a35c525ce6b8363eb0cabbe1 (patch)
treea4c68a99923b16df2628af32e3a20064cdbe84b0 /template/en/default/global
parent64f44ef195aedfa291ffa474fab1db13624f60d7 (diff)
downloadbugzilla-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.gz
bugzilla-3776f86ebdfb6169a35c525ce6b8363eb0cabbe1.tar.xz
Bug 466178 - Add an INTEGER custom field type
r=glob, a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/field-descs.none.tmpl1
-rw-r--r--template/en/default/global/user-error.html.tmpl6
2 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 34c4dc9ed..2afabd0c6 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -41,6 +41,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 d7648320c..11d4f8ad1 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1366,6 +1366,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
+ <em>[% field_descs.$field FILTER html %]</em> 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