From b8851cdd5c15e0d21543d9fe08159b9ced8c950f Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Sun, 6 Oct 2002 18:52:28 +0000
Subject: Bug 163114 - Templatise all calls to DisplayError. Patch D (the last
one). Patch by gerv; r=burnus.
---
template/en/default/global/code-error.html.tmpl | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'template/en/default/global/code-error.html.tmpl')
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl
index ecc222484..572c216c6 100644
--- a/template/en/default/global/code-error.html.tmpl
+++ b/template/en/default/global/code-error.html.tmpl
@@ -125,6 +125,16 @@
The target type was neither bug nor attachment
but rather [% variables.target_type FILTER html %].
+ [% ELSIF error == "invalid_field_name" %]
+ Can't use [% field FILTER html %] as a field name.
+
+ [% ELSIF error == "invalid_output_type" %]
+ [% title = "Invalid Output Type" %]
+ Invalid output type [% type FILTER html %].
+
+ [% ELSIF error == "missing_bug_id" %]
+ No bug ID was given.
+
[% ELSIF error == "no_y_axis_defined" %]
No Y axis was defined when creating report. The X axis is optional,
but the Y axis is compulsory.
@@ -138,6 +148,9 @@
[% ELSIF error == "template_error" %]
[% template_error_msg %]
+ [% ELSIF error == "unable_to_retrieve_password" %]
+ I was unable to retrieve your old password from the database.
+
[% ELSIF error == "undefined_field" %]
[% field FILTER html %] was not defined; [% Param('browserbugmessage') %]
--
cgit v1.2.1