summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/bug')
-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>