From 95b84377992077442427a25786387285f994cb97 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Thu, 13 May 2004 23:04:26 +0000 Subject: Bug 236779: Add UI for changing "linkinfooter" flag for saved searches r=gerv,preed a=justdave --- template/en/default/account/prefs/prefs.html.tmpl | 2 +- .../default/account/prefs/saved-searches.html.tmpl | 36 +++++++++++++++++++--- template/en/default/global/useful-links.html.tmpl | 8 +++-- 3 files changed, 38 insertions(+), 8 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 03d49ccb3..00e7f8913 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -53,7 +53,7 @@ { name => "email", description => "Email settings", saveable => "1" }, { name => "saved-searches", description => "Saved searches", - saveable => "0" }, + saveable => "1" }, { 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 index d5a030877..a11c1c380 100644 --- a/template/en/default/account/prefs/saved-searches.html.tmpl +++ b/template/en/default/account/prefs/saved-searches.html.tmpl @@ -22,13 +22,41 @@

Your saved searches are as follows:

- +
+ + + + + + + [% FOREACH q = queries %] - + + + + diff --git a/template/en/default/global/useful-links.html.tmpl b/template/en/default/global/useful-links.html.tmpl index 806edfcf7..d238a4253 100644 --- a/template/en/default/global/useful-links.html.tmpl +++ b/template/en/default/global/useful-links.html.tmpl @@ -106,9 +106,11 @@ [% END %] [% FOREACH q = user.queries %] - [% " | " IF print_pipe %] - [% q.name FILTER html %] - [% print_pipe = 1 %] + [% IF q.linkinfooter %] + [% " | " IF print_pipe %] + [% q.name FILTER html %] + [% print_pipe = 1 %] + [% END %] [% END %] -- cgit v1.2.1
+ Show in
+ Footer +
+ Search + + Run + + Edit + + Forget +
[% q.name FILTER html %]: - Run | - Edit | + + [% q.name FILTER html %] + Run + + Edit + Forget