diff options
author | lpsolit%gmail.com <> | 2005-09-26 06:04:30 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-26 06:04:30 +0200 |
commit | 36331f2e6bd025fbb4c131b71223f94dbe5de724 (patch) | |
tree | ac98e98615e9da748b742c95fc05c783b34fc801 /template/en/default/global | |
parent | 67cb0c3f70d5b3d98e30a9e3ce7ac3b00766f9d9 (diff) | |
download | bugzilla-36331f2e6bd025fbb4c131b71223f94dbe5de724.tar.gz bugzilla-36331f2e6bd025fbb4c131b71223f94dbe5de724.tar.xz |
Bug 308228: Whine-related saved search can be forgotten through buglist.cgi - Patch by A. Karl Kornel <karl@kornel.name> r=LpSolit a=justdave
Diffstat (limited to 'template/en/default/global')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index b77e58d16..8288a309d 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1055,6 +1055,12 @@ [% title = "Summary Needed" %] You must enter a summary for this [% terms.bug %]. + [% ELSIF error == "saved_search_used_by_whines" %] + [% title = "Saved Search In Use" %] + The saved search <em>[% search_name FILTER html %]</em> is being used + by <a href="editwhines.cgi">Whining events</a> with the following subjects: + [%+ subjects FILTER html %] + [% ELSIF error == "search_content_without_matches" %] [% title = "Illegal Search" %] The "content" field can only be used with "matches" search @@ -1238,7 +1244,8 @@ [% USE Bugzilla %] [% namedcmd = Bugzilla.cgi.param("namedcmd") %] -[% IF namedcmd AND error != "missing_query" %] +[% IF namedcmd AND error != "missing_query" + AND error != "saved_search_used_by_whines" %] <p> Alternatively, you can <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= |