bitbake: toaster: do not show target if target name is empty

In the all targets table, all entries should have a target
name. If a target does not have a name, something has not
gone to plan, so don't show it.

(Bitbake rev: 27023ce2d264ce05008ef9af33982b054c6a87b5)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena
2014-11-18 14:16:57 +00:00
committed by Richard Purdie
parent f3ffeba4a7
commit 39bace01e2

View File

@@ -39,6 +39,7 @@
{% include "basetable_top.html" %}
{% for o in objects %}
{% if o.name %}
<tr class="data">
<td class="target">
{{o.name}}
@@ -78,6 +79,7 @@
</a>
</td>
</tr>
{% endif %}
{% endfor %}
{% include "basetable_bottom.html" %}