[bitbake-devel] [PATCH 03/14] toastergui: Generic message for the layer details empty states
Alex DAMIAN
alexandru.damian at intel.com
Tue Jan 27 14:27:24 UTC 2015
From: Belen Barros Pena <belen.barros.pena at intel.com>
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.
Signed-off-by: Belen Barros Pena <belen.barros.pena at intel.com>
---
lib/toaster/toastergui/templates/layerdetails.html | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/lib/toaster/toastergui/templates/layerdetails.html b/lib/toaster/toastergui/templates/layerdetails.html
index 9286df6..207197bce 100644
--- a/lib/toaster/toastergui/templates/layerdetails.html
+++ b/lib/toaster/toastergui/templates/layerdetails.html
@@ -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 %}
--
1.9.1
More information about the bitbake-devel
mailing list