summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authortimeless%mozdev.org <>2007-08-24 11:11:40 +0200
committertimeless%mozdev.org <>2007-08-24 11:11:40 +0200
commit9e7ca58168a6d410583c69334e4a75d56cb23c67 (patch)
treefde689512743217b4973b3d818b19bd9488e85a1 /template
parent2140e65027533bae7b922a54229fb09319363c9b (diff)
downloadbugzilla-9e7ca58168a6d410583c69334e4a75d56cb23c67.tar.gz
bugzilla-9e7ca58168a6d410583c69334e4a75d56cb23c67.tar.xz
Bug 389541 Provide a way to get from full text bug listing to short bug listing
r=vladd a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/show-multiple.html.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl
index 6820713bf..38ec4d69c 100644
--- a/template/en/default/bug/show-multiple.html.tmpl
+++ b/template/en/default/bug/show-multiple.html.tmpl
@@ -32,8 +32,18 @@
%]
[% PROCESS bug/time.html.tmpl %]
[% IF bugs.first %]
+ [% ids = [] %]
[% FOREACH bug = bugs %]
[% PROCESS bug_display %]
+ [% ids.push(bug.bug_id) %]
+ [% END %]
+ [% IF ids.size > 1 %]
+ <div class="bz_query_buttons">
+ <form method="post" action="buglist.cgi">
+ <input type="hidden" name="bug_id" value="[% ids.join(",") FILTER none %]">
+ <input type="submit" id="short_format" value="Short Format">
+ </form>
+ </div>
[% END %]
[% ELSE %]
<p>