diff options
author | mkanat%bugzilla.org <> | 2009-08-21 23:33:07 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-08-21 23:33:07 +0200 |
commit | a2336d70faed66049c4c7fb8d51e044aa34fb205 (patch) | |
tree | adc9d1813341cb00ca87903debcb398abfbb3028 /template | |
parent | 4f9f364e9fbbdc6cf3eccd2c59372b9ff49e2a27 (diff) | |
download | bugzilla-a2336d70faed66049c4c7fb8d51e044aa34fb205.tar.gz bugzilla-a2336d70faed66049c4c7fb8d51e044aa34fb205.tar.xz |
Bug 449705: Make buglist.cgi's LookupNamedQuery use Bugzilla::Search::Saved
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/global/per-bug-queries.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 97fd59d21..e96e6d48e 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -340,8 +340,8 @@ [% ELSIF error == "param_must_be_numeric" %] [% title = "Invalid Parameter" %] - Invalid parameter passed to [% function FILTER html %]. - It must be numeric. + Invalid parameter <code>[% param FILTER html %]</code> passed to + <code>[% function FILTER html %]</code>: It must be numeric. [% ELSIF error == "param_required" %] [% title = "Missing Parameter" %] diff --git a/template/en/default/global/per-bug-queries.html.tmpl b/template/en/default/global/per-bug-queries.html.tmpl index c2fc3983d..3c62e35f5 100644 --- a/template/en/default/global/per-bug-queries.html.tmpl +++ b/template/en/default/global/per-bug-queries.html.tmpl @@ -54,7 +54,7 @@ [%# Get existing lists of bugs for this user %] [% lists_of_bugs = [] %] [% FOREACH q = user.queries %] - [% NEXT UNLESS q.bug_ids_only %] + [% NEXT UNLESS q.type == constants.LIST_OF_BUGS %] [% lists_of_bugs.push(q.name) %] [% END %] <div class="label"></div> diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 58cf4e01d..c4eefb4aa 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1745,6 +1745,8 @@ flagtype [% ELSIF class == "Bugzilla::Field" %] field + [% ELSIF class == "Bugzilla::Search::Saved" %] + saved search [% ELSIF ( matches = class.match('^Bugzilla::Field::Choice::(.+)') ) %] [% SET field_name = matches.0 %] [% field_descs.$field_name FILTER html %] |