[bitbake-devel] [PATCH 11/11] toaster: do not show target if target name is empty
Alex DAMIAN
alexandru.damian at intel.com
Thu Nov 20 16:27:27 UTC 2014
From: Belen Barros Pena <belen.barros.pena at linux.intel.com>
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.
Signed-off-by: Belen Barros Pena <belen.barros.pena at linux.intel.com>
---
lib/toaster/toastergui/templates/targets.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/toaster/toastergui/templates/targets.html b/lib/toaster/toastergui/templates/targets.html
index 1f938aa..f4313f9 100644
--- a/lib/toaster/toastergui/templates/targets.html
+++ b/lib/toaster/toastergui/templates/targets.html
@@ -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" %}
--
1.9.1
More information about the bitbake-devel
mailing list