diff options
author | Belen Barros Pena <belen.barros.pena@linux.intel.com> | 2014-11-18 14:16:57 +0000 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-11-20 15:43:57 +0000 |
commit | 27023ce2d264ce05008ef9af33982b054c6a87b5 (patch) | |
tree | 873f0e713b8cc3a71bf5c9963898f1def8a6e654 | |
parent | dc9b4a4ab06ed49f3fcab4f644b8bc136f19fdb0 (diff) | |
download | bitbake-27023ce2d264ce05008ef9af33982b054c6a87b5.tar.gz |
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.
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
-rw-r--r-- | lib/toaster/toastergui/templates/targets.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/targets.html b/lib/toaster/toastergui/templates/targets.html index 1f938aad2..f4313f92b 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" %} |