aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-10-22 03:15:20 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2014-10-22 03:15:20 +0200
commitaa689e51488c27ba675cb2fdaa967dc5e7e1475a (patch)
tree33afffb8f89bde3cb913bab2c8a3902461f32d47
parentBug 1082882: custom date field not recognized as date type in advanced search (diff)
downloadbugzilla-aa689e51488c27ba675cb2fdaa967dc5e7e1475a.tar.gz
bugzilla-aa689e51488c27ba675cb2fdaa967dc5e7e1475a.tar.bz2
bugzilla-aa689e51488c27ba675cb2fdaa967dc5e7e1475a.zip
Bug 1033068: The "unknown_action" error message could confuse the user
r=dkl a=sgreen
-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 8dbcd45e3..492c2ad4b 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -1725,10 +1725,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" %]