Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92A59E00CB0; Thu, 8 Sep 2016 04:01:13 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [192.55.52.120 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 64BCFE00C81 for ; Thu, 8 Sep 2016 04:01:10 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP; 08 Sep 2016 04:01:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,300,1470726000"; d="scan'208";a="758382706" Received: from icarus.ld.intel.com ([10.103.239.199]) by FMSMGA003.fm.intel.com with ESMTP; 08 Sep 2016 04:01:09 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Thu, 8 Sep 2016 11:57:07 +0100 Message-Id: <1473332227-40262-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 1.9.1 Subject: [PATCH] toaster: Fix links to tasks with specific outcome 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: Thu, 08 Sep 2016 11:01:13 -0000 The build dashboard provides a count of tasks that were executed and not executed, and of tasks that failed (if any). The number is a link to the list of tasks. Fix the links so that they filter the tasks table by the selected criteria (executed, not executed or failed). [YOCTO #9832] Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/templates/builddashboard.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 9e6e1c1..1c390cd 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html @@ -235,7 +235,7 @@ {% elif exectask.count > 1%} - {{exectask.count}} + {{exectask.count}} {% endif %} {% endif %} @@ -244,12 +244,12 @@ Tasks executed -
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
+
{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}
Tasks not executed
-
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
+
{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}
Reuse -- 1.9.1