Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 02ADCE003D7 for ; Tue, 28 Jan 2014 01:04:56 -0800 (PST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 28 Jan 2014 01:04:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.95,735,1384329600"; d="scan'208";a="465835652" Received: from unknown (HELO peggleto-mobl5.ger.corp.intel.com) ([10.252.122.226]) by fmsmga001.fm.intel.com with ESMTP; 28 Jan 2014 01:04:37 -0800 From: Paul Eggleton To: "Reyna, David" Date: Tue, 28 Jan 2014 09:04:36 +0000 Message-ID: <6887156.lKoJ1diUN4@peggleto-mobl5.ger.corp.intel.com> Organization: Intel Corporation User-Agent: KMail/4.11.5 (Linux/3.12.8-300.fc20.x86_64; KDE/4.11.5; x86_64; ; ) In-Reply-To: <5E53D14CE4667A45B9A06760DE5D13D055DA89DD@ALA-MBA.corp.ad.wrs.com> References: <5E53D14CE4667A45B9A06760DE5D13D055DA89DD@ALA-MBA.corp.ad.wrs.com> MIME-Version: 1.0 Cc: toaster@yoctoproject.org Subject: Re: V2: Commit for recipe detail view ready for review 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, 28 Jan 2014 09:05:01 -0000 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Hi David, On Monday 27 January 2014 18:01:08 Reyna, David wrote: > Belen Barros Pena wrote: > > ... package size is being displayed in bytes, instead of being converted > > to KB or MB as appropriate. > > Any chance we could get that changed? > > Yes, I will write a custom filter that we can all use for the visual > translation. FYI, you shouldn't need to write a new filter for this - Django has a built-in filter "filesizeformat" that does this: https://docs.djangoproject.com/en/1.5/ref/templates/builtins/#filesizeformat Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre