diff options
author | mkanat%bugzilla.org <> | 2009-01-22 04:08:35 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-22 04:08:35 +0000 |
commit | c7b2b76566b8258c676967537986e996c17c3d8d (patch) | |
tree | ead1d770b601720c2aac9bdfc3133cd56071d694 /template/en/default/global/user-error.html.tmpl | |
parent | fdfe948ab5eea11a0ce98b84044308a6f95adfa0 (diff) | |
download | bugs-c7b2b76566b8258c676967537986e996c17c3d8d.tar bugs-c7b2b76566b8258c676967537986e996c17c3d8d.tar.gz bugs-c7b2b76566b8258c676967537986e996c17c3d8d.tar.bz2 bugs-c7b2b76566b8258c676967537986e996c17c3d8d.tar.xz bugs-c7b2b76566b8258c676967537986e996c17c3d8d.zip |
Bug 472872: Add a field where people can put the URLs to Bugzilla bugs (from any Bugzilla installation)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 39077c542..8b7d8e6ff 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -229,6 +229,24 @@ [% bug_id FILTER url_quote %]&GoAheadAndLogIn=1">log in to an account</a> with the appropriate permissions. + [% ELSIF error == "bug_url_invalid" %] + [% title = "Invalid Bug URL" %] + <code>[% url FILTER html %]</code> is not a valid URL to [% terms.abug %]. + [% 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. + [% ELSIF reason == 'id' %] + There is no valid [% terms.bug %] id in that URL. + [% END %] + + [% ELSIF error == "bug_url_too_long" %] + [% title = "Invalid Bug URL" %] + [% terms.Bug %] URLs can not be longer than + [%+ constants.MAX_BUG_URL_LENGTH FILTER none %] characters long. + <code>[% url FILTER html %]</code> is too long. + [% ELSIF error == "buglist_parameters_required" %] [% title = "Parameters Required" %] [% docslinks = {'query.html' => "Searching for $terms.bugs", |