From d0002e9626b97df6fad2c597b89c8ec31f7c308a Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 5 Aug 2009 12:35:50 +0000 Subject: Bug 415541: Implement $bug->set_flags() and $attachment->set_flags() - Patch by Frédéric Buclin a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/code-error.html.tmpl | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (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 91207a20e..97fd59d21 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -222,15 +222,10 @@ but you tried to flag it as obsolete while creating a new attachment to [% terms.bug %] [%+ my_bug_id FILTER html %]. - [% ELSIF error == "flags_not_available" %] - [% title = "Flag Editing not Allowed" %] - [% IF type == "b" %] - Flags cannot be set or changed when - changing several [% terms.bugs %] at once. - [% ELSE %] - References to existing flags when creating - a new attachment are invalid. - [% END %] + [% ELSIF error == "flag_unexpected_object" %] + [% title = "Object Not Recognized" %] + Flags cannot be set for objects of type [% caller FILTER html %]. + They can only be set for [% terms.bugs %] and attachments. [% ELSIF error == "flag_requestee_disabled" %] [% title = "Flag not Requestable from Specific Person" %] -- cgit v1.2.3-24-g4f1b