From: Frédéric Buclin Date: Wed, 22 Oct 2014 01:13:27 +0000 (+0200) Subject: Bug 1033068: The "unknown_action" error message could confuse the user X-Git-Tag: bugzilla-5.1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e50bddb296ca6ef5c7afb70da3de1aa2c55e7e77;p=thirdparty%2Fbugzilla.git Bug 1033068: The "unknown_action" error message could confuse the user r=dkl a=sgreen --- diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 55e1bc3f7c..ed07487608 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1810,10 +1810,11 @@ then try again. [% ELSIF error == "unknown_action" %] + [% title = "Unknown Action" %] [% IF action %] - Unknown action [% action FILTER html %]! + Unknown action "[% action.truncate(20, "...") FILTER html %]"! [% ELSE %] - I could not figure out what you wanted to do. + I could not figure out what you wanted to do. [% END %] [% ELSIF error == "unknown_tab" %]