summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2014-11-18 14:16:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-11-21 11:49:24 +0000
commit39bace01e20ea194a0fb5326ac72dd6896483f41 (patch)
tree84a1a40d7274e9aada49a5b79352389e10d2c99e
parentf3ffeba4a7dc704258a18f64edd787f6cd65e64f (diff)
downloadpoky-39bace01e20ea194a0fb5326ac72dd6896483f41.tar.gz
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>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/targets.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/targets.html b/bitbake/lib/toaster/toastergui/templates/targets.html
index 1f938aad2f..f4313f92b2 100644
--- a/bitbake/lib/toaster/toastergui/templates/targets.html
+++ b/bitbake/lib/toaster/toastergui/templates/targets.html
@@ -39,6 +39,7 @@
39 39
40{% include "basetable_top.html" %} 40{% include "basetable_top.html" %}
41 {% for o in objects %} 41 {% for o in objects %}
42 {% if o.name %}
42 <tr class="data"> 43 <tr class="data">
43 <td class="target"> 44 <td class="target">
44 {{o.name}} 45 {{o.name}}
@@ -78,6 +79,7 @@
78 </a> 79 </a>
79 </td> 80 </td>
80 </tr> 81 </tr>
82 {% endif %}
81 {% endfor %} 83 {% endfor %}
82{% include "basetable_bottom.html" %} 84{% include "basetable_bottom.html" %}
83 85