From 9f970402777c85c9c602321d4838de6e0a04dc2b Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 27 Jan 2004 17:03:30 +0000 Subject: Bug 232161 - add ability to forget or edit saved searches when the search throws an error. Patch by gerv; r,a=justdave. --- template/en/default/global/user-error.html.tmpl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'template/en/default/global') 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 Back and try again.

+[%# 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 %] +

+ Alternatively, you can + forget + + [% FOREACH q = Bugzilla.user.queries %] + [% IF q.name == namedcmd %] + or edit + [% END %] + [% END %] + + this saved search: '[% namedcmd FILTER html %]'. +

+[% END %] + [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b