summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-15 15:43:44 +0200
committergerv%gerv.net <>2002-08-15 15:43:44 +0200
commit24f062186a9b6dcdcefa79c12ae82b95243c7e41 (patch)
tree2f3234eebadd94b40fcfc837e4b42ea3341db219 /template
parent684246432c854ffab436304470545f1da46eae07 (diff)
downloadbugzilla-24f062186a9b6dcdcefa79c12ae82b95243c7e41.tar.gz
bugzilla-24f062186a9b6dcdcefa79c12ae82b95243c7e41.tar.xz
Bug 162066 - Fix callers of ThrowCodeError to use messages in code-error.html.tmpl. Patch by gerv; r=bbaetz.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/code-error.html.tmpl18
1 files changed, 15 insertions, 3 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index 64bf5064e..d731dbc49 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -42,13 +42,25 @@
to any [% parameters %] which you may have set before calling
ThrowCodeError.
- [% ELSIF error == "another_error_tag" %]
- This is another sample error, without a special title. This
- should be the usual usage for this file. This sample can be removed.
+ [% ELSIF error == "group_bit_invalid" %]
+ One of the group bits submitted was invalid.
+ [% ELSIF error == "illegal_field" %]
+ A legal [% field FILTER html %] was not set.
+
+ [% ELSIF error == "inactive_group" %]
+ Attempted to add bug to an inactive group, identified by the bit
+ '[% bit FILTER html %]'.
+
[% ELSIF error == "template_error" %]
[% template_error_msg %]
+ [% ELSIF error == "undefined_field" %]
+ [% field FILTER html %] was not defined; [% Param('browserbugmessage') %]
+
+ [% ELSIF error == "unknown_action" %]
+ Unknown action [% action FILTER html %]!
+
[% ELSE %]
[%# Cope with legacy calling convention, where "error" was the string
# to print.