summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-20 07:21:04 +0200
committerlpsolit%gmail.com <>2005-10-20 07:21:04 +0200
commitc9e867f7b1b01aff688df7fcb7c37f48cf8a39ca (patch)
treeab8d1d386a101cafbc4960a0eabf50d4dce82cdf /template/en/default/global
parentb2966165174d850b13be0e25eba6e9053142ed00 (diff)
downloadbugzilla-c9e867f7b1b01aff688df7fcb7c37f48cf8a39ca.tar.gz
bugzilla-c9e867f7b1b01aff688df7fcb7c37f48cf8a39ca.tar.xz
Bug 298688: Forbid the deletion of values used by default for the priority, severity, platform and OS and update data/params when editing them - Patch by Frédéric Buclin <LpSolit@gmail.com> r=GavinS a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/user-error.html.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 09f3d6e8a..334f1c54e 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -384,6 +384,15 @@
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
+ the '[% field FILTER html %]' field and cannot be deleted.
+ [% IF user.groups.tweakparams %]
+ You have to <a href="editparams.cgi?section=bugfields#
+ [%- param_name FILTER url_quote %]">change</a> the default value first.
+ [% END %]
+
[% ELSIF error == "fieldvalue_name_too_long" %]
[% title = "Field Value Is Too Long" %]
The value of a field is limited to 60 characters.