Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 818F2E00B02; Fri, 21 Aug 2015 02:06:28 -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 * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5FE79E00AAB for ; Fri, 21 Aug 2015 02:06:16 -0700 (PDT) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 21 Aug 2015 02:05:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,720,1432623600"; d="scan'208";a="629610794" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga003.jf.intel.com with ESMTP; 21 Aug 2015 02:05:54 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.144]) by IRSMSX102.ger.corp.intel.com ([169.254.2.81]) with mapi id 14.03.0224.002; Fri, 21 Aug 2015 10:05:36 +0100 From: "Barros Pena, Belen" To: Brian Avery Thread-Topic: [Toaster] [review-request] bbarrosp/project-builds Thread-Index: AQHQ21+ZxzQF3EepoUKunwp97ziTAJ4VeeSAgACwboA= Date: Fri, 21 Aug 2015 09:05:35 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.5.4.150722 x-originating-ip: [10.237.224.32] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: Re: [review-request] bbarrosp/project-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: Fri, 21 Aug 2015 09:06:28 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 21/08/2015 00:34, "Brian Avery" wrote: >I'm far from an expert in this, but it seems like basing logic on url >paths is kinda fragile (5759e6). > Are there better options? There are 2 options I can think of: 1. Create separate templates, but that would require 4 of them (for all builds, all projects, landing and all other pages) and sounds like a nightmare to maintain 2. Use a different element of the content for the conditional, although that sounds even more fragile than using the url, since the url is bound to be more stable than the content. There are probably others though: I just can't think of them :) This is Michael's code, so I can hold off until he comes back and see what he suggests.=20 Thanks! Bel=E9n > >-b > >On Thu, Aug 20, 2015 at 8:48 AM, Barros Pena, Belen > wrote: >> bbarrosp/project-builds >> >> de40156a5c6286e62964f28499cdf2680008f808 >> bitbake: toastergui: adjust spacing in project pages >> >> 5759e617ff02d294557adacf8ef33a3272bbb91c >> bitbake: toastergui: fix global navigation >> >> >> Thanks! >> >> Bel=E9n >> >> >> >> -- >> _______________________________________________ >> toaster mailing list >> toaster@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/toaster