diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-20 17:38:16 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2010-05-20 17:38:16 +0200 |
commit | c558f9f5ab886ca1202ba7095803319361e06290 (patch) | |
tree | 4c3072f445b8d5fc3f55b4964b7470e5a8c00151 /template/en/default/global/user-error.html.tmpl | |
parent | d6e7e1bd1c206b1b336f867ba6a51ed8c6e2fbb1 (diff) | |
download | bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.gz bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.xz |
Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action")
r=ghendricks a=LpSolit
Diffstat (limited to 'template/en/default/global/user-error.html.tmpl')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index c5667bd27..1d5997861 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1251,10 +1251,6 @@ Either no products have been defined to enter [% terms.bugs %] against or you have not been given access to any. - [% ELSIF error == "no_valid_action" %] - [% title = "No valid action specified" %] - Cannot edit [% field_descs.$field FILTER html %]: no valid action was specified. - [% ELSIF error == "number_not_numeric" %] [% title = "Numeric Value Required" %] The value '[% num FILTER html %]' in the @@ -1581,6 +1577,13 @@ [% END %] token too recently to request another. Please wait a while and try again. + [% ELSIF error == "unknown_action" %] + [% IF action %] + Unknown action [% action FILTER html %]! + [% ELSE %] + I could not figure out what you wanted to do. + [% END %] + [% ELSIF error == "unknown_keyword" %] [% title = "Unknown Keyword" %] <code>[% keyword FILTER html %]</code> is not a known keyword. |