From 5f61a3d84eef44c09244996a5787bfc24621f60c Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Sun, 9 Nov 2003 05:49:18 +0000 Subject: Bug 179339 - Simplify and improve the stored query mechanism. Patch by gerv; r,a=myk. --- template/en/default/account/prefs/prefs.html.tmpl | 2 - .../en/default/global/site-navigation.html.tmpl | 12 +- template/en/default/global/useful-links.html.tmpl | 18 +-- template/en/default/list/list.html.tmpl | 86 +++++++++----- template/en/default/search/knob.html.tmpl | 131 +++------------------ 5 files changed, 85 insertions(+), 164 deletions(-) (limited to 'template') diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 5892cb40e..54cc14f66 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -53,8 +53,6 @@ saveable => "1" }, { name => "email", description => "Email settings", saveable => "1" }, - { name => "footer", description => "Page footer", - saveable => "1" }, { name => "permissions", description => "Permissions", saveable => "0" } ] %] diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index be64c2a86..36c73f292 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -72,19 +72,17 @@ [% END %] - [%# *** Preset Queries *** %] + [%# *** Saved Searches *** %] [% IF user.showmybugslink %] [% user_login = user.login FILTER url_quote %] - [% END %] [% FOREACH q = user.queries %] - [% IF q.linkinfooter %] - - [% END %] + [% END %] [%# *** Bugzilla Administration Tools *** %] diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 135dad987..cf84abbb2 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -33,7 +33,7 @@
+
+ + | ++ | + CSV | + Change Columns | + + [% IF bugs.size > 1 && caneditbugs && !dotweak %] + Change Several [% terms.Bugs %] at Once + | + [% END %] + + [% IF bugowners %] + Send Mail to [% terms.Bug %] Owners | + [% END %] + + Edit Search + | + [% IF searchname %] ++ | + Forget Search ' + [% searchname FILTER html %]' + | + [% ELSE %] ++ | + + | + [% END %] +
- - - | -- |
- [% IF namedqueries.size > 0 %] - - [% END %] - - [% IF namedqueries.size > 0 %] - - [% ELSE %] - - - [% END %] - | -
-
-
- - - - - - - |
-
- [% IF namedqueries.size > 0 %] - - - - - [% END %] - | -
Sort results by: @@ -147,14 +42,24 @@ [% ordersdesc.$order FILTER html %] [% END %] +
+- - [% IF userdefaultquery %] -
- - Set my default query back to the system default. -
- [% END %] ++ + + +
+ +[% IF userdefaultquery %] + +[% END %] -- cgit v1.2.1