From 6cfd8aa148bbcbc268bc3cd9da8a30145e72f066 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 29 Oct 2014 17:44:33 +0000 Subject: bitbake: toaster: Fix the table data so that it matches the column order This fixes the issue where the column is under the wrong table header. [YOCTO #6684] (Bitbake rev: 4ef276e379d58130bb50024d7b74b7774fce6fdd) Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/target.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bitbake') diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html index 564fd27162..c879c39d5a 100644 --- a/bitbake/lib/toaster/toastergui/templates/target.html +++ b/bitbake/lib/toaster/toastergui/templates/target.html @@ -65,6 +65,7 @@ {% include "basetable_top.html" %} {% for package in objects %} + {# order of the table data must match the columns defined in template's context tablecols #} {{package.name}} @@ -79,16 +80,17 @@ {{package.version|filtered_packageversion:package.revision}} + + {{package.license}} + {{package.size|filtered_installedsize:package.installed_size|filtered_filesizeformat}} + {{package|filter_sizeovertotal:packages_sum}} - - {{package.license}} - - + {% with deps=package.runtime_dependencies %} {% with deps_count=deps|length %} {% if deps_count > 0 %} -- cgit v1.2.3-54-g00ecf