summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/site-navigation.html.tmpl12
-rw-r--r--template/en/default/global/useful-links.html.tmpl18
2 files changed, 9 insertions, 21 deletions
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 %]
- <link rel="Preset&nbsp;Queries" title="My [% terms.Bugs %]"
+ <link rel="Saved&nbsp;Searches" title="My [% terms.Bugs %]"
href="[% Param('mybugstemplate').replace('%userid%', user_login) %]">
[% END %]
[% FOREACH q = user.queries %]
- [% IF q.linkinfooter %]
- <link rel="Preset&nbsp;Queries"
- title="[% q.name FILTER html %]"
- href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER url_quote %]">
- [% END %]
+ <link rel="Saved&nbsp;Searches"
+ title="[% q.name FILTER html %]"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% q.name FILTER url_quote %]">
[% 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 @@
<td valign="middle" nowrap="nowrap">
<a href="enter_bug.cgi">New</a> |
- <a href="query.cgi">Query</a> |
+ <a href="query.cgi">Search</a> |
<input type="submit" value="Find"> [% terms.bug %] #
<input name="id" size="6"> |
@@ -78,22 +78,12 @@
</td>
</tr>
- [%# Preset queries %]
+ [%# Saved searches %]
- [% preset_queries = user.showmybugslink %]
- [% IF NOT preset_queries %]
- [% FOREACH q = user.queries %]
- [% IF q.linkinfooter %]
- [% preset_queries = 1 %]
- [% LAST %]
- [% END %]
- [% END %]
- [% END %]
-
<tr>
- [% IF preset_queries %]
+ [% IF user.showmybugslink OR user.queries.size %]
<td>
- Preset&nbsp;Queries:
+ Saved&nbsp;Searches:
</td>
[% END %]