aboutsummaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-04-28 20:16:49 +0000
committermkanat%bugzilla.org <>2009-04-28 20:16:49 +0000
commit41eac19cb25da6cd77e2c43f3c24f9b7884d7935 (patch)
tree986c1003f197eec2e15a4fc716b8753d8b656e39 /template/en/default/list
parentb4b8090b1d4f7dd7d297c360e9341b7bb6644e43 (diff)
downloadbugs-41eac19cb25da6cd77e2c43f3c24f9b7884d7935.tar
bugs-41eac19cb25da6cd77e2c43f3c24f9b7884d7935.tar.gz
bugs-41eac19cb25da6cd77e2c43f3c24f9b7884d7935.tar.bz2
bugs-41eac19cb25da6cd77e2c43f3c24f9b7884d7935.tar.xz
bugs-41eac19cb25da6cd77e2c43f3c24f9b7884d7935.zip
Bug 103523: Don't split buglist table every 100 bugs for new browsers
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/list')
-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">