diff options
author | gerv%gerv.net <> | 2003-11-15 08:04:17 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2003-11-15 08:04:17 +0100 |
commit | de34a3449c722f5cab5f22bcd810f5760cb41f74 (patch) | |
tree | 3c8713f3fb724654bebf9026112e76225caa969b /template/en/default/list | |
parent | 088cfbc5960e30d8d7b47dee22c6cddd14cd581c (diff) | |
download | bugzilla-de34a3449c722f5cab5f22bcd810f5760cb41f74.tar.gz bugzilla-de34a3449c722f5cab5f22bcd810f5760cb41f74.tar.xz |
Bug 225303 - Cannot remove stored query when no bugs are found. Patch by gerv; r=jouni, a=justdave.
Diffstat (limited to 'template/en/default/list')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 87 |
1 files changed, 38 insertions, 49 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index 4d5a48c79..476eb0da3 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -67,7 +67,6 @@ <hr> - [%############################################################################%] [%# Preceding Status Line #%] [%############################################################################%] @@ -76,7 +75,6 @@ [% bugs.size %] [% terms.bugs %] found. [% END %] - [%############################################################################%] [%# Start of Change Form #%] [%############################################################################%] @@ -85,7 +83,6 @@ <form name="changeform" method="post" action="process_bug.cgi"> [% END %] - [%############################################################################%] [%# Bug Table #%] [%############################################################################%] @@ -99,54 +96,42 @@ [% IF bugs.size == 0 %] [% terms.zeroSearchResults %]. - <p> - <a href="query.cgi">Query Page</a> - <a href="enter_bug.cgi">Enter New [% terms.Bug %]</a> - <a href="query.cgi?[% urlquerypart FILTER html %]">Edit this query</a> - </p> - [% ELSIF bugs.size == 1 %] One [% terms.bug %] found. - [% ELSE %] [% bugs.size %] [% terms.bugs %] found. - [% END %] <br> - [%############################################################################%] [%# Rest of Change Form #%] [%############################################################################%] [% IF dotweak %] - [% PROCESS "list/edit-multiple.html.tmpl" %] - </form> - <hr> - [% END %] - [%############################################################################%] [%# Navigation Bar #%] [%############################################################################%] -[% IF bugs.size > 0 %] - <p> - <table> - <tr> - <td valign="top"> +<p> +<table> + <tr> + [% IF bugs.size > 0 %] + <td valign="bottom"> <form method="post" action="long_list.cgi"> <input type="hidden" name="buglist" value="[% buglist %]"> <input type="submit" value="Long Format"> </form> </td> + <td> </td> - <td valign="top"> + + <td valign="bottom"> <a href="buglist.cgi? [% urlquerypart FILTER html %]&ctype=csv">CSV</a> | <a href="colchange.cgi? @@ -163,33 +148,37 @@ <a href="mailto: [% bugowners FILTER html %]">Send Mail to [% terms.Bug %] Owners</a> | [% END %] - - <a href="query.cgi?[% urlquerypart FILTER html %]">Edit Search</a> </td> - [% IF searchname %] - <td valign="top" nowrap="nowrap"> - | - <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= - [% searchname FILTER html %]">Forget Search ' - [% searchname FILTER html %]'</a> - </td> - [% ELSE %] - <td> </td> - <td> - <form method="get" action="buglist.cgi"> - <input type="submit" value="Remember search"> as - <input type="hidden" name="newquery" - value="[% urlquerypart FILTER html %]"> - <input type="hidden" name="cmdtype" value="doit"> - <input type="hidden" name="remtype" value="asnamed"> - <input type="text" name="newqueryname" size="20"> - </form> - </td> - [% END %] - </tr> - </table> - </p> -[% END %] + [% END %] + + <td valign="bottom"> + <a href="query.cgi?[% urlquerypart FILTER html %]">Edit Search</a> + </td> + + [% IF searchname %] + <td valign="bottom" nowrap="nowrap"> + | + <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= + [% searchname FILTER html %]">Forget Search ' + [% searchname FILTER html %]'</a> + </td> + [% ELSE %] + <td> </td> + + <td valign="bottom"> + <form method="get" action="buglist.cgi"> + <input type="submit" value="Remember search"> as + <input type="hidden" name="newquery" + value="[% urlquerypart FILTER html %]"> + <input type="hidden" name="cmdtype" value="doit"> + <input type="hidden" name="remtype" value="asnamed"> + <input type="text" name="newqueryname" size="20"> + </form> + </td> + [% END %] + </tr> +</table> +</p> [%############################################################################%] |