summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2014-10-29 17:44:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-12 17:04:49 +0000
commit6cfd8aa148bbcbc268bc3cd9da8a30145e72f066 (patch)
tree73f5b37d9bb76a858a60bfb9a153dd099d4d596d /bitbake/lib/toaster/toastergui/templates
parent42afeb422ea0a5e226cef586353d194d0339bbd7 (diff)
downloadpoky-6cfd8aa148bbcbc268bc3cd9da8a30145e72f066.tar.gz
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 <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/target.html10
1 files changed, 6 insertions, 4 deletions
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 @@
65 {% include "basetable_top.html" %} 65 {% include "basetable_top.html" %}
66 {% for package in objects %} 66 {% for package in objects %}
67 <tr> 67 <tr>
68 {# order of the table data must match the columns defined in template's context tablecols #}
68 <td class="package_name"> 69 <td class="package_name">
69 <a href="{% url 'package_included_detail' build.id target.id package.id %}"> 70 <a href="{% url 'package_included_detail' build.id target.id package.id %}">
70 {{package.name}} 71 {{package.name}}
@@ -79,16 +80,17 @@
79 {{package.version|filtered_packageversion:package.revision}} 80 {{package.version|filtered_packageversion:package.revision}}
80 </a> 81 </a>
81 </td> 82 </td>
83 <td class="license">
84 {{package.license}}
85 </td>
82 <td class="size sizecol"> 86 <td class="size sizecol">
83 {{package.size|filtered_installedsize:package.installed_size|filtered_filesizeformat}} 87 {{package.size|filtered_installedsize:package.installed_size|filtered_filesizeformat}}
84 </td> 88 </td>
89
85 <td class="size_over_total sizecol"> 90 <td class="size_over_total sizecol">
86 {{package|filter_sizeovertotal:packages_sum}} 91 {{package|filter_sizeovertotal:packages_sum}}
87 </td> 92 </td>
88 <td class="license"> 93 <td class="depends">
89 {{package.license}}
90 </td>
91 <td class="depends">
92 {% with deps=package.runtime_dependencies %} 94 {% with deps=package.runtime_dependencies %}
93 {% with deps_count=deps|length %} 95 {% with deps_count=deps|length %}
94 {% if deps_count > 0 %} 96 {% if deps_count > 0 %}