summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/list/table.html.tmpl19
1 files changed, 5 insertions, 14 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 9b27b0094..ed1f3de3f 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -156,14 +156,10 @@
[%# Bug Table #%]
[%############################################################################%]
+[% tableheader %]
+
[% FOREACH bug = bugs %]
[% count = loop.count() %]
- [% FLUSH IF count % 10 == 1 %]
-
- [%# At the beginning of every hundred bugs in the list, start a new table. %]
- [% IF count % 100 == 1 %]
- [% tableheader %]
- [% END %]
<tr class="bz_bugitem
bz_[% bug.bug_severity FILTER css_class_quote -%]
@@ -219,18 +215,13 @@
</tr>
- [%# At the end of every hundred bugs in the list, or at the end of the list,
- # end the current table.
- #%]
- [% IF loop.last() || loop.count() % 100 == 0 %]
- [% IF loop.last() && time_info.time_present == 1 %]
- [% PROCESS time_summary_line %]
- [% END %]
- </table>
+ [% IF loop.last() && time_info.time_present == 1 %]
+ [% PROCESS time_summary_line %]
[% END %]
[% END %]
+</table>
[% BLOCK time_summary_line %]
<tr class="bz_time_summary_line">