From ab439a9ac6606f9382bf101b115bdb90bbd85e60 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Fri, 24 Aug 2007 10:15:16 +0000 Subject: Bug 221827 Missing Bug ID shouldn't be handled as Invalid Bug ID r=vladd a=mkanat --- template/en/default/global/user-error.html.tmpl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c91875812..5a33b75c5 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -746,12 +746,14 @@ [% title = "Invalid Attachment ID" %] The attachment id [% attach_id FILTER html %] is invalid. - [% ELSIF error == "invalid_bug_id_non_existent" %] + [% ELSIF error == "bug_id_does_not_exist" %] [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %] [% terms.Bug %] #[% bug_id FILTER html %] does not exist. - [% ELSIF error == "invalid_bug_id_or_alias" %] - [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %] + [% ELSIF error == "improper_bug_id_field_value" %] + [% title = BLOCK %] + [% IF bug_id %]Invalid [% ELSE %]Missing [% END %] [% terms.Bug %] ID + [% END %] [% IF bug_id %] '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number [% IF Param("usebugaliases") %] -- cgit v1.2.3-24-g4f1b