bitbake: toastergui: Generic message for the layer details empty states

In the layer details page, change the message you see when
the number of targets or machines provided by a layer is
0, either because that's what's reported by a layer index
instance, or because Toaster does not have any information
about the layer.

The new message is more generic, in order to fit layers from
all layer sources.

(Bitbake rev: 48123b53d66de01ad6273140aa148276d63707ba)

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena
2015-01-26 13:42:44 +00:00
committed by Richard Purdie
parent 24979f5219
commit c04977563f

View File

@@ -184,9 +184,7 @@
<div name="targets" id="targets" class="tab-pane">
{% if total_targets == 0 %}
<div class="alert alert-info">
<strong>There is no target data for {{layerversion.layer.name}} ... yet</strong> <br />
Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
here the targets it provides.
There is no target information for the <strong> {{layerversion.layer.name}} </strong> layer.
</div>
{% else %}
@@ -313,9 +311,7 @@
<div name="machines" id="machines" class="tab-pane">
{% if total_machines == 0 %}
<div class="alert alert-info">
<strong>There is no machine data for {{layerversion.layer.name}} ... yet</strong> <br />
Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
here the machines it provides.
There is no machine information for the <strong>{{layerversion.layer.name}}</strong> layer.
</div>
{% else %}