summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-22 03:13:27 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-22 03:13:27 +0200
commite50bddb296ca6ef5c7afb70da3de1aa2c55e7e77 (patch)
treeb7055676a1b02a4ee26e768c1fb3a5c1a8d0a630 /template
parent226b92c37fed3616a2c9d23693ed9a4321bb879f (diff)
downloadbugzilla-e50bddb296ca6ef5c7afb70da3de1aa2c55e7e77.tar.gz
bugzilla-e50bddb296ca6ef5c7afb70da3de1aa2c55e7e77.tar.xz
Bug 1033068: The "unknown_action" error message could confuse the user
r=dkl a=sgreen
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 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" %]