From 1f1d6a5bcd5b77e8fbb8d827a614cdc1e3323c4d Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 14 May 2010 15:14:54 +0200 Subject: Bug 565881: 'flag_status_invalid' and 'request_queue_group_invalid' should be user errors, not code errors a=LpSolit --- template/en/default/global/code-error.html.tmpl | 10 ---------- template/en/default/global/user-error.html.tmpl | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'template') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 1819a4f96..70dc64ab1 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -277,13 +277,6 @@ You can't ask a specific person for [% type.name FILTER html %]. - [% ELSIF error == "flag_status_invalid" %] - The flag status [% status FILTER html %] - [% IF id %] - for flag ID #[% id FILTER html %] - [% END %] - is invalid. - [% ELSIF error == "flag_type_inactive" %] [% title = "Inactive Flag Type" %] The flag type [% type FILTER html %] is inactive and cannot be used @@ -422,9 +415,6 @@ An error occurred while preparing for a RADIUS authentication request: [% errstr FILTER html %]. - [% ELSIF error == "request_queue_group_invalid" %] - The group field [% group FILTER html %] is invalid. - [% ELSIF error == "report_axis_invalid" %] [% val FILTER html %] is not a valid value for [%+ IF fld == "x" %]the horizontal axis diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 698eed8fb..5fdcee8f3 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -625,6 +625,14 @@ and the user you asked isn't in that group. Please choose someone else to ask, or ask an administrator to add the user to the group. + [% ELSIF error == "flag_status_invalid" %] + [% title = "Flag Status Invalid" %] + The flag status [% status FILTER html %] + [% IF id %] + for flag ID #[% id FILTER html %] + [% END %] + is invalid. + [% ELSIF error == "flag_type_cc_list_invalid" %] [% title = "Flag Type CC List Invalid" %] [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] @@ -1457,6 +1465,9 @@ for [% terms.bug %] [%+ bug_id FILTER html %] has a circular dependency on [% terms.bug %] [%+ dep_id FILTER html %]. + [% ELSIF error == "request_queue_group_invalid" %] + The group field [% group FILTER html %] is invalid. + [% ELSIF error == "require_new_password" %] [% title = "New Password Needed" %] You cannot change your password without choosing a new one. -- cgit v1.2.3-24-g4f1b