summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-19 01:18:15 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-09-19 01:18:15 +0200
commit397a12d4236741f5f3db4eafee28d187156da24d (patch)
treecee94e00977f8b27a227a59a1c948f75e2f3ec83
parent4c2c197429347d82b4b3cc2d612a71a271d25fd6 (diff)
downloadbugzilla-397a12d4236741f5f3db4eafee28d187156da24d.tar.gz
bugzilla-397a12d4236741f5f3db4eafee28d187156da24d.tar.xz
Bug 577835: Improve the error message displayed when you put an invalid
Bug URL into the See Also field.
-rw-r--r--template/en/default/global/user-error.html.tmpl10
1 files 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 <code>show_bug.cgi</code>
- in a [% terms.Bugzilla %] installation.
+ [%+ field_descs.see_also %] URLs should point to one of:
+ <ul>
+ <li><code>show_bug.cgi</code> in a [% terms.Bugzilla %]
+ installation.</li>
+ <li>A b[% %]ug on launchpad.net</li>
+ <li>An issue on code.google.com.</li>
+ <li>A b[% %]ug on b[% %]ugs.debian.org.</li>
+ </ul>
[% ELSIF reason == 'id' %]
There is no valid [% terms.bug %] id in that URL.
[% END %]