From: mkanat%bugzilla.org <> Date: Mon, 26 Oct 2009 00:22:53 +0000 (+0000) Subject: Bug 524244: Make the HTML buglist not display a header if there are no bugs found. X-Git-Tag: bugzilla-3.5.1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=155bc6f800ebb5da30ff892105411da1163ae703;p=thirdparty%2Fbugzilla.git Bug 524244: Make the HTML buglist not display a header if there are no bugs found. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index 2305d2fa51..6ca90b921b 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