summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-10-30 02:14:11 +0100
committerlpsolit%gmail.com <>2009-10-30 02:14:11 +0100
commit2c3a0bfc4382502094d4edfb200da1395bba1568 (patch)
treed2baab20285fd8bd08fa875797d711f0b48e67dd /template/en/default/global
parent145f177dace8458cfb725e4405da1c77f86786cf (diff)
downloadbugzilla-2c3a0bfc4382502094d4edfb200da1395bba1568.tar.gz
bugzilla-2c3a0bfc4382502094d4edfb200da1395bba1568.tar.xz
Bug 460742: The type should be mandatory to create a custom field - Patch by Nitish Bezzala <nbezzala@yahoo.com> r/a=mkanat
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/code-error.html.tmpl10
1 files changed, 7 insertions, 3 deletions
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 <code>[% field FILTER html %]</code>
and <code>[% type FILTER html %]</code> 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 <em>content