diff options
author | mkanat%bugzilla.org <> | 2009-10-26 00:22:53 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-10-26 00:22:53 +0000 |
commit | 155bc6f800ebb5da30ff892105411da1163ae703 (patch) | |
tree | 320414cd9ba6de4bd566fb249913e1fd9f03b415 | |
parent | Bug 521043: Release Notes for Bugzilla 3.4.3 (diff) | |
download | bugzilla-155bc6f800ebb5da30ff892105411da1163ae703.tar.gz bugzilla-155bc6f800ebb5da30ff892105411da1163ae703.tar.bz2 bugzilla-155bc6f800ebb5da30ff892105411da1163ae703.zip |
Bug 524244: Make the HTML buglist not display a header if there are no bugs found.
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
-rw-r--r-- | template/en/default/list/table.html.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 2305d2fa5..6ca90b921 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -23,6 +23,10 @@ [%# Initialization #%] [%############################################################################%] +[%# Don't display the table or do any processing if there are no bugs + # to display %] +[% RETURN IF !bugs.size %] + [%# Columns whose titles or values should be abbreviated to make the list # more compact. For columns whose titles should be abbreviated, # the shortened title is included. For columns whose values should be |