summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-01-26 13:42:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 22:11:34 +0000
commitc04977563f3c766bae32fdc07fa81ea1615a5cac (patch)
tree19f14afe0aa4225486b02a8e79e69920f2fa420b /bitbake/lib
parent24979f5219bbda94609761418be0db03a3132a2b (diff)
downloadast2050-yocto-poky-c04977563f3c766bae32fdc07fa81ea1615a5cac.zip
ast2050-yocto-poky-c04977563f3c766bae32fdc07fa81ea1615a5cac.tar.gz
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>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/layerdetails.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
index 9286df6..207197b 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/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 %}
OpenPOWER on IntegriCloud