From c8869c191947a49cc5c19d7c8799d24e3c8284b3 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 18 Aug 2015 12:25:23 +0800 Subject: Bug 1195598 - The "unknown_action" error message could confuse the user --- template/en/default/global/user-error.html.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'template') diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index ffe1b6fa4..8aa4ef4cb 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1808,10 +1808,11 @@ token too recently to request another. Please wait a while and 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" %] -- cgit v1.2.3-24-g4f1b