summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2015-08-18 06:25:23 +0200
committerByron Jones <glob@mozilla.com>2015-08-18 06:25:23 +0200
commitc8869c191947a49cc5c19d7c8799d24e3c8284b3 (patch)
treecd6c2beae9d4fddf72de2d6cf82adf0075ce3ca0 /template
parent8dd0fac8172ddc089d8972718ac79b6c5965bc7e (diff)
downloadbugzilla-c8869c191947a49cc5c19d7c8799d24e3c8284b3.tar.gz
bugzilla-c8869c191947a49cc5c19d7c8799d24e3c8284b3.tar.xz
Bug 1195598 - The "unknown_action" error message could confuse the user
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl5
1 files changed, 3 insertions, 2 deletions
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" %]