From 2c3a0bfc4382502094d4edfb200da1395bba1568 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 30 Oct 2009 01:14:11 +0000 Subject: Bug 460742: The type should be mandatory to create a custom field - Patch by Nitish Bezzala r/a=mkanat --- template/en/default/global/code-error.html.tmpl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'template/en') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 3c9f73f4c..64bd41af3 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -154,13 +154,17 @@ to generate the right class (you can't call class methods directly on Bugzilla::Field::Choice). + [% ELSIF error == "field_not_custom" %] + '[% field.description FILTER html %]' ([% field.name FILTER html %]) + is not a custom field. + [% ELSIF error == "field_type_mismatch" %] Cannot seem to handle [% field FILTER html %] and [% type FILTER html %] together. - [% ELSIF error == "field_not_custom" %] - '[% field.description FILTER html %]' ([% field.name FILTER html %]) - is not a custom field. + [% ELSIF error == "field_type_not_specified" %] + [% title = "Field Type Not Specified" %] + You must specify a type when creating a custom field. [% ELSIF error == "illegal_content_type_method" %] Your form submission got corrupted somehow. The content -- cgit v1.2.3-24-g4f1b