summaryrefslogtreecommitdiffstats
path: root/template/en/default/account
diff options
context:
space:
mode:
authorgerv%gerv.net <>2004-03-08 17:40:16 +0100
committergerv%gerv.net <>2004-03-08 17:40:16 +0100
commit4c4edf2e8527920576ffa36972c0dc1855f1d9b3 (patch)
tree60510f67b6e4ce27ceb7685b4e6e817b2c9a6b4c /template/en/default/account
parentf937a800633b5caed92dab8ad90568506b471b0d (diff)
downloadbugzilla-4c4edf2e8527920576ffa36972c0dc1855f1d9b3.tar.gz
bugzilla-4c4edf2e8527920576ffa36972c0dc1855f1d9b3.tar.xz
Bug 232176 - Add a preferences panel for saved searches, to allow management all in one place. Patch by gerv; r,a=justdave.
Diffstat (limited to 'template/en/default/account')
-rw-r--r--template/en/default/account/prefs/prefs.html.tmpl2
-rw-r--r--template/en/default/account/prefs/saved-searches.html.tmpl38
2 files changed, 40 insertions, 0 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl
index a6ff2c89c..03d49ccb3 100644
--- a/template/en/default/account/prefs/prefs.html.tmpl
+++ b/template/en/default/account/prefs/prefs.html.tmpl
@@ -52,6 +52,8 @@
saveable => "1" },
{ name => "email", description => "Email settings",
saveable => "1" },
+ { name => "saved-searches", description => "Saved searches",
+ saveable => "0" },
{ name => "permissions", description => "Permissions",
saveable => "0" } ] %]
diff --git a/template/en/default/account/prefs/saved-searches.html.tmpl b/template/en/default/account/prefs/saved-searches.html.tmpl
new file mode 100644
index 000000000..d5a030877
--- /dev/null
+++ b/template/en/default/account/prefs/saved-searches.html.tmpl
@@ -0,0 +1,38 @@
+[%# 1.0@bugzilla.org %]
+[%# The contents of this file are subject to the Mozilla Public
+ # License Version 1.1 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.mozilla.org/MPL/
+ #
+ # Software distributed under the License is distributed on an "AS
+ # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ # implied. See the License for the specific language governing
+ # rights and limitations under the License.
+ #
+ # The Original Code is the Bugzilla Bug Tracking System.
+ #
+ # The Initial Developer of the Original Code is Netscape Communications
+ # Corporation. Portions created by Netscape are
+ # Copyright (C) 1998 Netscape Communications Corporation. All
+ # Rights Reserved.
+ #
+ # Contributor(s): Gervase Markham <gerv@gerv.net>
+ #%]
+
+<p>Your saved searches are as follows:</p>
+
+<blockquote>
+ <table cellpadding="3">
+ [% FOREACH q = queries %]
+ <tr>
+ <td>[% q.name FILTER html %]:</td>
+ <td>
+ <a href="buglist.cgi?[% q.query FILTER html %]">Run</a> |
+ <a href="query.cgi?[% q.query FILTER html %]">Edit</a> |
+ <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
+ [% q.name FILTER html %]">Forget</a>
+ </td>
+ </tr>
+ [% END %]
+ </table>
+</blockquote>