summaryrefslogtreecommitdiffstats
path: root/template/en/default/global/user-error.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-10-03 08:40:15 +0200
committermkanat%bugzilla.org <>2008-10-03 08:40:15 +0200
commita43231dd4ccef2b02fa0434217b637a6d1638c97 (patch)
tree5d5f7987c0216ca2d2fe931cd9b7cbc879a34502 /template/en/default/global/user-error.html.tmpl
parentb03fc56082401474044c7f92f8786164ca0508a4 (diff)
downloadbugzilla-a43231dd4ccef2b02fa0434217b637a6d1638c97.tar.gz
bugzilla-a43231dd4ccef2b02fa0434217b637a6d1638c97.tar.xz
Bug 456922: Now that Bugzilla::Field::Choice is complete, clean up editvalues.cgi and error messages
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r--template/en/default/global/user-error.html.tmpl27
1 files changed, 7 insertions, 20 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index c1fc9ae0d..c7b83e334 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -422,26 +422,17 @@
[% ELSIF error == "fieldname_invalid" %]
[% title = "Specified Field Does Not Exist" %]
- The field '[% field FILTER html %]' does not exist or
+ The field '[% field.name FILTER html %]' does not exist or
cannot be edited with this interface.
- [% ELSIF error == "fieldname_not_specified" %]
- [% title = "Field Name Not Specified" %]
- No field name specified when trying to edit field values.
-
[% ELSIF error == "fieldvalue_already_exists" %]
[% title = "Field Value Already Exists" %]
- The value '[% value FILTER html %]' already exists for the
+ The value '[% value.name FILTER html %]' already exists for the
[%+ field.description FILTER html %] field.
- [% ELSIF error == "fieldvalue_doesnt_exist" %]
- [% title = "Specified Field Value Does Not Exist" %]
- The value '[% value FILTER html %]' does not exist for
- the '[% field FILTER html %]' field.
-
[% ELSIF error == "fieldvalue_is_default" %]
[% title = "Specified Field Value Is Default" %]
- '[% value FILTER html %]' is the default value for
+ '[% value.name FILTER html %]' is the default value for
the '[% field.description FILTER html %]' field and cannot be deleted.
[% IF user.in_group('tweakparams') %]
You have to <a href="editparams.cgi?section=bugfields#
@@ -456,20 +447,16 @@
[% ELSIF error == "fieldvalue_not_editable" %]
[% title = "Field Value Not Editable" %]
- The value '[% old_value FILTER html %]' cannot be renamed because
+ The value '[% old_value.name FILTER html %]' cannot be renamed because
it plays some special role for the '[% field.description FILTER html %]'
field.
[% ELSIF error == "fieldvalue_not_deletable" %]
[% title = "Field Value Not Deletable" %]
- The value '[% value FILTER html %]' cannot be removed because
+ The value '[% value.name FILTER html %]' cannot be removed because
it plays some special role for the '[% field.description FILTER html %]'
field.
- [% ELSIF error == "fieldvalue_not_specified" %]
- [% title = "Field Value Not Specified" %]
- No field value specified when trying to edit a field value.
-
[% ELSIF error == "fieldvalue_reserved_word" %]
[% title = "Reserved Word Not Allowed" %]
You cannot use the value '[% value FILTER html %]' for the
@@ -484,9 +471,9 @@
[% ELSIF error == "fieldvalue_still_has_bugs" %]
[% title = "You Cannot Delete This Field Value" %]
- You cannot delete the value '[% value FILTER html %]' from the
+ You cannot delete the value '[% value.name FILTER html %]' from the
[% field.description FILTER html %] field, because there are still
- [%+ count FILTER html %] [%+ terms.bugs %] using it.
+ [%+ value.bug_count FILTER html %] [%+ terms.bugs %] using it.
[% ELSIF error == "fieldvalue_undefined" %]
[% title = "Undefined Value Not Allowed" %]