diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index ed194855a..1aec9b4f6 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -734,4 +734,26 @@ Please press <b>Back</b> and try again. </p> +[%# If a saved search fails, people want the ability to edit or delete it. + # This is the best way of getting information about that possible saved + # search from any error call location. %] + +[% USE Bugzilla %] +[% namedcmd = Bugzilla.cgi.param("namedcmd") %] +[% IF namedcmd %] + <p> + Alternatively, you can + <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= + [% namedcmd FILTER html %]">forget</a> + + [% FOREACH q = Bugzilla.user.queries %] + [% IF q.name == namedcmd %] + or <a href="query.cgi?[% q.query FILTER html %]">edit</a> + [% END %] + [% END %] + + this saved search: '[% namedcmd FILTER html %]'. + </p> +[% END %] + [% PROCESS global/footer.html.tmpl %] |