summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/code-error.html.tmpl
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-09-21 07:26:11 +0200
committergerv%gerv.net <>2002-09-21 07:26:11 +0200
commita29e0e0640faad00f8c1bf792b93260047f16956 (patch)
treec515858e0b161f066526dc9cd584c1f3d5aef7a0 /template/en/default/global/code-error.html.tmpl
parentffebf58127067aebb6319d5941ef1a44e5883773 (diff)
downloadbugzilla-a29e0e0640faad00f8c1bf792b93260047f16956.tar.gz
bugzilla-a29e0e0640faad00f8c1bf792b93260047f16956.tar.xz
Bug 163114 - Templatise all calls to DisplayError. First patch - attachment.cgi. Patch by gerv; r=burnus.
Diffstat (limited to 'template/en/default/global/code-error.html.tmpl')
-rw-r--r--template/en/default/global/code-error.html.tmpl21
1 files changed, 21 insertions, 0 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index a74d014cd..55fac2aca 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -40,6 +40,10 @@
to any [% parameters %] which you may have set before calling
ThrowCodeError.
+ [% ELSIF error == "attachment_already_obsolete" %]
+ Attachment #[% attachid FILTER html %] ([% description FILTER html %])
+ is already obsolete.
+
[% ELSIF error == "field_type_mismatch" %]
Cannot seem to handle <code>[% field %]</code>
and <code>[% type %]</code> together.
@@ -47,6 +51,13 @@
[% ELSIF error == "group_bit_invalid" %]
One of the group bits submitted was invalid.
+ [% ELSIF error == "illegal_content_type_method" %]
+ Your form submission got corrupted somehow. The <em>content
+ method</em> field, which specifies how the content type gets determined,
+ should have been either <em>autodetect</em>, <em>list</em>,
+ or <em>manual</em>, but was instead
+ <em>[% contenttypemethod FILTER html %]</em>.
+
[% ELSIF error == "illegal_field" %]
A legal [% field FILTER html %] was not set.
@@ -54,6 +65,16 @@
Attempted to add bug to an inactive group, identified by the bit
'[% bit FILTER html %]'.
+ [% ELSIF error == "invalid_attach_id_to_obsolete" %]
+ The attachment number of one of the attachments you wanted to obsolete,
+ [% attach_id FILTER html %], is invalid.
+
+ [% ELSIF error == "mismatched_bug_ids_on_obsolete" %]
+ Attachment [% attach_id FILTER html %] ([% description FILTER html %])
+ is attached to bug [% attach_bug_id FILTER html %], but you tried to
+ flag it as obsolete while creating a new attachment to bug
+ [% my_bug_id FILTER html %].
+
[% ELSIF error == "no_bug_data" %]
No data when fetching bug [% bug_id %].