From 397a12d4236741f5f3db4eafee28d187156da24d Mon Sep 17 00:00:00 2001 From: Max Kanat-Alexander Date: Sat, 18 Sep 2010 16:18:15 -0700 Subject: Bug 577835: Improve the error message displayed when you put an invalid Bug URL into the See Also field. --- template/en/default/global/user-error.html.tmpl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 2d5ad72d7..a885f4b34 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -246,8 +246,14 @@ [% IF reason == 'http' %] URLs must start with "http" or "https". [% ELSIF reason == 'show_bug' %] - [%+ terms.Bug %] URLs should point to show_bug.cgi - in a [% terms.Bugzilla %] installation. + [%+ field_descs.see_also %] URLs should point to one of: + [% ELSIF reason == 'id' %] There is no valid [% terms.bug %] id in that URL. [% END %] -- cgit v1.2.3-24-g4f1b