From 155bc6f800ebb5da30ff892105411da1163ae703 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 26 Oct 2009 00:22:53 +0000 Subject: 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 --- template/en/default/list/table.html.tmpl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'template/en') 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 -- cgit v1.2.3-24-g4f1b