summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2004-12-21 18:04:00 +0100
committerjake%bugzilla.org <>2004-12-21 18:04:00 +0100
commitc068e2b90f06f898217dc9919371a583517d985e (patch)
treedc5845ff868e095bfe6d7c075a5eeebba781a702 /template
parentf21cae35b182db1feccab05c3c2ad57357342dbe (diff)
downloadbugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.gz
bugzilla-c068e2b90f06f898217dc9919371a583517d985e.tar.xz
Bug 264601 - Bugzilla will now tell a user which field contained an "invalid bug number or alias."
Patch by Frédéric Buclin <LpSolit@netscape.net> r=myk, a=justdave
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/field-descs.none.tmpl3
-rw-r--r--template/en/default/global/user-error.html.tmpl28
2 files changed, 15 insertions, 16 deletions
diff --git a/template/en/default/global/field-descs.none.tmpl b/template/en/default/global/field-descs.none.tmpl
index 1080e8e44..e49db6b5b 100644
--- a/template/en/default/global/field-descs.none.tmpl
+++ b/template/en/default/global/field-descs.none.tmpl
@@ -26,6 +26,7 @@
[% field_descs = { "[Bug creation]" => "[$terms.Bug creation]",
"alias" => "Alias",
"assigned_to" => "Assignee",
+ "blocked" => "Blocks",
"bug_file_loc" => "URL",
"bug_id" => "$terms.Bug ID",
"bug_severity" => "Severity",
@@ -38,6 +39,8 @@
"component" => "Component",
"creation_ts" => "$terms.Bug Creation time",
"delta_ts" => "Last Changed time",
+ "dependson" => "Depends on",
+ "dup_id" => "Duplicate",
"estimated_time" => "Orig. Est.",
"everconfirmed" => "Ever confirmed?",
"groupset" => "Groupset",
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index affad39cc..ebd44906e 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -262,11 +262,6 @@
[% title = "Description Required" %]
You must provide a description of the [% terms.bug %].
- [% ELSIF error == "dupe_invalid_bug_id" %]
- [% title = BLOCK %]Valid [% terms.Bug %] Number Required[% END %]
- You must specify a valid [% terms.bug %] number of which this
- [%+ terms.bug %] is a duplicate. The [% terms.bug %] has not been changed.
-
[% ELSIF error == "dupe_of_self_disallowed" %]
[% title = "Cannot mark $terms.abug as a duplicate of itself" %]
You can't mark [% terms.abug %] as a duplicate of itself.
@@ -468,19 +463,24 @@
[% title = "Invalid Attachment ID" %]
The attachment id [% attach_id FILTER html %] is invalid.
- [% ELSIF error == "invalid_bug_id" %]
- [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %]
- The [% terms.bug %] id [% bug_id FILTER html %] is invalid.
-
[% ELSIF error == "invalid_bug_id_non_existent" %]
[% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %]
[% terms.Bug %] #[% bug_id FILTER html %] does not exist.
[% ELSIF error == "invalid_bug_id_or_alias" %]
[% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %]
- '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number
- [% IF Param("usebugaliases") %] nor an alias
- to [% terms.abug %] number[% END %].
+ [% IF bug_id %]
+ '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number
+ [% IF Param("usebugaliases") %]
+ nor an alias to [% terms.abug %] number
+ [% END %].
+ [% ELSE %]
+ [% IF field %]
+ The '[% field_descs.$field FILTER html %]' field
+ cannot be empty.
+ [% END %]
+ You must enter a valid [% terms.bug %] number!
+ [% END %]
<noscript>
If you are trying to use QuickSearch, you need to enable
JavaScript in your browser.
@@ -523,10 +523,6 @@
[% title = "Invalid group name" %]
The group you specified, [% name FILTER html %], is not valid here.
- [% ELSIF error == "invalid_group_name" %]
- [% title = "Invalid group name" %]
- The group you specified, [% name FILTER html %], is not valid here.
-
[% ELSIF error == "invalid_maxrows" %]
[% title = "Invalid Max Rows" %]
The maximum number of rows, '[% maxrows FILTER html %]', must be