Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2B8EAE00B02; Fri, 21 Aug 2015 03:22:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C5037E00AAB for ; Fri, 21 Aug 2015 03:22:16 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 21 Aug 2015 03:22:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,720,1432623600"; d="scan'208";a="629640477" Received: from bbarrosp-mac03.isw.intel.com ([10.237.224.32]) by orsmga003.jf.intel.com with ESMTP; 21 Aug 2015 03:22:15 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Fri, 21 Aug 2015 11:22:03 +0100 Message-Id: <1440152523-12915-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.3.2 (Apple Git-55) Subject: [review-request][PATCH] bitbake: toastergui: fix show / hide columns in all builds table X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2015 10:22:21 -0000 From: Belen Barros Pena The classes errors_no and warnings_no were removed from the td tags in the builds.html template. That broke the show / hide columns functionality, which would hide only the table heading, but not the data cells. This patch brings back those classes so that you can hide and show the errors and warnings information. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/templates/builds.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/builds.html b/bitbake/lib/toaster/toastergui/templates/builds.html index b68fa6f..c0d0c64 100644 --- a/bitbake/lib/toaster/toastergui/templates/builds.html +++ b/bitbake/lib/toaster/toastergui/templates/builds.html @@ -81,12 +81,12 @@ {{exectask.count}} task{{exectask.count|pluralize}} {%endif%} - + {% if build.errors.count %} {{build.errors.count}} error{{build.errors.count|pluralize}} {%endif%} - {% if build.warnings.count %}{{build.warnings.count}} warning{{build.warnings.count|pluralize}}{%endif%} + {% if build.warnings.count %}{{build.warnings.count}} warning{{build.warnings.count|pluralize}}{%endif%} {{build.timespent_seconds|sectohms}} {% if build.outcome == build.SUCCEEDED %} -- 2.3.2 (Apple Git-55)