Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0C49CE00C97; Wed, 24 Feb 2016 02:47:09 -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=-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 * [134.134.136.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 75392E00C65 for ; Wed, 24 Feb 2016 02:47:05 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 24 Feb 2016 02:46:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,493,1449561600"; d="scan'208,217";a="658460134" Received: from bsobczak-mobl.ger.corp.intel.com (HELO bbarrosp-mac03.local.com) ([10.252.0.63]) by FMSMGA003.fm.intel.com with ESMTP; 24 Feb 2016 02:46:57 -0800 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Wed, 24 Feb 2016 11:46:53 +0100 Message-Id: <1456310813-27120-1-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 2.5.4 (Apple Git-61) Subject: [PATCH] [v2] toaster: custom breadcrumb for the default project 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: Wed, 24 Feb 2016 10:47:09 -0000 From: Belen Barros Pena The default "Command line builds" project does not have a Configuration page. It therefore needs a custom breadcrumb where the project name goes to the project builds page, instead of the project configuration page. Signed-off-by: Belen Barros Pena --- bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html | 7 +++++-- bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html index e350c1a..a62e0b1 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuilddetailpage.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% load project_url_tag %} {% load humanize %} {% block pagecontent %} @@ -6,8 +7,10 @@
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 3571869..0dc71f5 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load projecttags %} +{% load project_url_tag %} {% load humanize %} {% block pagecontent %} @@ -8,8 +9,10 @@