From d3395fe6bb0c74f4fe6e69387cba62ae633b7e27 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 30 Nov 2005 20:00:53 +0000 Subject: =?UTF-8?q?Bug=20314039:=20editusers.cgi=20edits=20user=200=20if?= =?UTF-8?q?=20you=20don't=20pass=20a=20userid=20-=20Patch=20by=20Fr=C3=A9d?= =?UTF-8?q?=C3=A9ric=20Buclin=20=20r=3Dwurblzap=20a=3Dj?= =?UTF-8?q?ustdave?= 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, 10 insertions(+), 3 deletions(-) (limited to 'template/en/default/global') diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 0fe946cb5..141930b07 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -227,9 +227,16 @@ The keyword ID [% id FILTER html %] couldn't be found. - [% ELSIF error == "invalid_user_id" %] - [% title = "Invalid User ID" %] - There is no user account with ID [% userid FILTER html %]. + [% ELSIF error == "invalid_user" %] + [% title = "Invalid User" %] + There is no user account + [% IF user_id %] + with ID [% user_id FILTER html %]. + [% ELSIF user_login %] + with login name [% user_login FILTER html %]. + [% ELSE %] + given. + [% END %] [% ELSIF error == "missing_bug_id" %] No [% terms.bug %] ID was given. -- cgit v1.2.1