Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 912BDE00B1E; Tue, 10 Nov 2015 04:39:26 -0800 (PST) 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,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A2C9DE00B1E for ; Tue, 10 Nov 2015 04:39:23 -0800 (PST) Received: by wmec201 with SMTP id c201so131403938wme.0 for ; Tue, 10 Nov 2015 04:39:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4nlxzD4dO4GdgTPxmkR5+E709KvOeKpnfEFv74rjDZY=; b=p7rq+gAN6WFMblBvxzLqFMHJ6D2GUiOGAt12L4mpiFHZ/dnW2rPuIWpWUCbQb/lvsR 6PNmeyaaV1LRvSKarFmZcBb31i+unR+a/VYl0+wjz5onerBO/kTqyncIvu9+SO0Phsdd Oo+cA4qhUueHGsNK0WuGZUM/4+TIe8eL8qk85qMg6J5nk2NPT3Gg0m/gs0POWJScDgjY /WSOz+1ZE5RIepW/i28h7lWqQWVdKMNVa1SSdJDw89NQ0NtLgQwU+cy8TypmCToGwFDV gvUUVqiTBjpYGdNnnR9WgtT/OAYuEToQ9zRQkkdTFBGxy222lG2W0er2fnyGQ4YX+mD1 7Qgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4nlxzD4dO4GdgTPxmkR5+E709KvOeKpnfEFv74rjDZY=; b=Pb3XcEpHMniGIOzWPel3ty5jVLs7Fz18APrD8/hw126hT1cHIZ8/ae9E2Ce9RZtjkQ IaNa0op/IeQN8uyXMBFwACQFRnaR/8ued6148Aa+a9s0u56tHiDyHqn8ZTNadPzWlnl9 mODxyGU1a+avdtCgUG2vgFN1WL3khsshv8vBrQdsBiStOt/XWzQwHRtplRgwwlWVHfFI PK7xhmSc2uY6Xx6JhWGkKo55e19MH6Lh+1VHwU+B4U/jK0zL9L9j/8zLZ+0L1BinrdOK CbprDybEfUx+KDeh9tYnPcD00oB91LqHxcOOaoGxLuW8A3Usi77VIXUm2uCWXTn8D/wa BOWg== X-Gm-Message-State: ALoCoQkR0uQBQbO1ULbid9/9GgKuG0MD1sH1VwtnuYvN3OjBaC8t2aPq1gmOaOUT6FBrYSdMqFjM X-Received: by 10.28.139.18 with SMTP id n18mr33904072wmd.63.1447159162532; Tue, 10 Nov 2015 04:39:22 -0800 (PST) Received: from dorado.Home ([90.199.203.61]) by smtp.gmail.com with ESMTPSA id os9sm3320075wjc.26.2015.11.10.04.39.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 10 Nov 2015 04:39:22 -0800 (PST) From: Michael Wood To: toaster@yoctoproject.org Date: Tue, 10 Nov 2015 12:39:05 +0000 Message-Id: <1447159146-18082-3-git-send-email-michael.g.wood@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1447159146-18082-1-git-send-email-michael.g.wood@intel.com> References: <1447159146-18082-1-git-send-email-michael.g.wood@intel.com> Subject: [PATCH 3/4] toaster: projecttopbar Use the project in context to get num builds 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: Tue, 10 Nov 2015 12:39:26 -0000 Use the project in the template context rather than ajax request to get the number of ended builds. Signed-off-by: Michael Wood --- bitbake/lib/toaster/toastergui/templates/projecttopbar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html index ee86b54..d8f7cbd 100644 --- a/bitbake/lib/toaster/toastergui/templates/projecttopbar.html +++ b/bitbake/lib/toaster/toastergui/templates/projecttopbar.html @@ -28,7 +28,7 @@