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

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

index 8dbcd45e3915b5e665b43e78ef9ff0f075cc0337..492c2ad4b7fed0b794cca5687e6c8007c2da5714 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" %]