From e50bddb296ca6ef5c7afb70da3de1aa2c55e7e77 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 22 Oct 2014 03:13:27 +0200 Subject: Bug 1033068: The "unknown_action" error message could confuse the user r=dkl a=sgreen --- 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 55e1bc3f7..ed0748760 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" %] -- cgit v1.2.3-24-g4f1b