mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
42afeb422e
commit
6cfd8aa148
@@ -65,6 +65,7 @@
|
|||||||
{% include "basetable_top.html" %}
|
{% include "basetable_top.html" %}
|
||||||
{% for package in objects %}
|
{% for package in objects %}
|
||||||
<tr>
|
<tr>
|
||||||
|
{# order of the table data must match the columns defined in template's context tablecols #}
|
||||||
<td class="package_name">
|
<td class="package_name">
|
||||||
<a href="{% url 'package_included_detail' build.id target.id package.id %}">
|
<a href="{% url 'package_included_detail' build.id target.id package.id %}">
|
||||||
{{package.name}}
|
{{package.name}}
|
||||||
@@ -79,16 +80,17 @@
|
|||||||
{{package.version|filtered_packageversion:package.revision}}
|
{{package.version|filtered_packageversion:package.revision}}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td class="size sizecol">
|
|
||||||
{{package.size|filtered_installedsize:package.installed_size|filtered_filesizeformat}}
|
|
||||||
</td>
|
|
||||||
<td class="size_over_total sizecol">
|
|
||||||
{{package|filter_sizeovertotal:packages_sum}}
|
|
||||||
</td>
|
|
||||||
<td class="license">
|
<td class="license">
|
||||||
{{package.license}}
|
{{package.license}}
|
||||||
</td>
|
</td>
|
||||||
<td class="depends">
|
<td class="size sizecol">
|
||||||
|
{{package.size|filtered_installedsize:package.installed_size|filtered_filesizeformat}}
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td class="size_over_total sizecol">
|
||||||
|
{{package|filter_sizeovertotal:packages_sum}}
|
||||||
|
</td>
|
||||||
|
<td class="depends">
|
||||||
{% with deps=package.runtime_dependencies %}
|
{% with deps=package.runtime_dependencies %}
|
||||||
{% with deps_count=deps|length %}
|
{% with deps_count=deps|length %}
|
||||||
{% if deps_count > 0 %}
|
{% if deps_count > 0 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user