diff options
author | gerv%gerv.net <> | 2004-01-27 18:03:30 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2004-01-27 18:03:30 +0100 |
commit | 9f970402777c85c9c602321d4838de6e0a04dc2b (patch) | |
tree | c3f056ca31b52e1b62f82424377454b75b6aabc8 /template | |
parent | 8dc09cd56b82c84f93471fdb97a3c7f64e886143 (diff) | |
download | bugzilla-9f970402777c85c9c602321d4838de6e0a04dc2b.tar.gz bugzilla-9f970402777c85c9c602321d4838de6e0a04dc2b.tar.xz |
Bug 232161 - add ability to forget or edit saved searches when the search throws an error. Patch by gerv; r,a=justdave.
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 %] |