diff options
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/list/list.html.tmpl | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl index c85564d27..41fe93b93 100644 --- a/template/en/default/list/list.html.tmpl +++ b/template/en/default/list/list.html.tmpl @@ -188,8 +188,8 @@ [%# Navigation Bar #%] [%############################################################################%] - [% IF bugs.size > 0 %] - <div class="buglist_menu"> + <div class="buglist_menu"> + [% IF bugs.size > 0 %] <div class="bz_query_buttons"> <form method="post" action="show_bug.cgi"> [% buglist_joined = buglist.join(",") %] @@ -253,33 +253,33 @@ [% Hook.process("links") %] </div> <br> - <div class="bz_query_edit"> + [% END %] + <div class="bz_query_edit"> <a href="[% PROCESS edit_search_url %]"><button>Edit Search</button></a> - </div> - - [% IF searchtype == "saved" %] - <div class="bz_query_forget"> - <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= - [% searchname FILTER uri %]&token= - [% issue_hash_token([search_id, searchname]) FILTER uri %]" - ><button>Forget Search '[% searchname FILTER html %]'</button></a> - </div> - [% ELSE %] - <div class="bz_query_remember"> - <form method="get" action="buglist.cgi"> - <input type="submit" id="remember" value="Remember search"> as - <input type="hidden" name="newquery" - value="[% urlquerypart FILTER html %][% "&order=$qorder" FILTER html IF order %]"> - <input type="hidden" name="cmdtype" value="doit"> - <input type="hidden" name="remtype" value="asnamed"> - <input type="hidden" name="token" value="[% issue_hash_token(['savedsearch']) FILTER html %]"> - <input type="text" id="save_newqueryname" name="newqueryname" size="20" - title="New query name" value="[% defaultsavename FILTER html %]"> - </form> - </div> - [% END %] </div> - [% END %] + + [% IF searchtype == "saved" %] + <div class="bz_query_forget"> + <a href="buglist.cgi?cmdtype=dorem&remaction=forget&namedcmd= + [% searchname FILTER uri %]&token= + [% issue_hash_token([search_id, searchname]) FILTER uri %]" + ><button>Forget Search '[% searchname FILTER html %]'</button></a> + </div> + [% ELSE %] + <div class="bz_query_remember"> + <form method="get" action="buglist.cgi"> + <input type="submit" id="remember" value="Remember search"> as + <input type="hidden" name="newquery" + value="[% urlquerypart FILTER html %][% "&order=$qorder" FILTER html IF order %]"> + <input type="hidden" name="cmdtype" value="doit"> + <input type="hidden" name="remtype" value="asnamed"> + <input type="hidden" name="token" value="[% issue_hash_token(['savedsearch']) FILTER html %]"> + <input type="text" id="save_newqueryname" name="newqueryname" size="20" + title="New query name" value="[% defaultsavename FILTER html %]"> + </form> + </div> + [% END %] + </div> [% IF one_product.defined && bugs.size %] <p class="bz_query_single_product"> |