]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1033068: The "unknown_action" error message could confuse the user bugzilla-5.1
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 22 Oct 2014 01:13:27 +0000 (03:13 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 22 Oct 2014 01:13:27 +0000 (03:13 +0200)
r=dkl a=sgreen

template/en/default/global/user-error.html.tmpl

index 55e1bc3f7cf0ceb1648195126cb58f8452c6e0d4..ed0748760808f9d836547ee51d9b222de4e543ee 100644 (file)
     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" %]