summaryrefslogtreecommitdiffstats
path: root/bitbake
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
parent24979f5219bbda94609761418be0db03a3132a2b (diff)
downloadpoky-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')
-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 9286df656c..207197bce6 100644
--- a/bitbake/lib/toaster/toastergui/templates/layerdetails.html
+++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html
@@ -184,9 +184,7 @@
184 <div name="targets" id="targets" class="tab-pane"> 184 <div name="targets" id="targets" class="tab-pane">
185 {% if total_targets == 0 %} 185 {% if total_targets == 0 %}
186 <div class="alert alert-info"> 186 <div class="alert alert-info">
187 <strong>There is no target data for {{layerversion.layer.name}} ... yet</strong> <br /> 187 There is no target information for the <strong> {{layerversion.layer.name}} </strong> layer.
188 Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
189 here the targets it provides.
190 </div> 188 </div>
191 {% else %} 189 {% else %}
192 190
@@ -313,9 +311,7 @@
313 <div name="machines" id="machines" class="tab-pane"> 311 <div name="machines" id="machines" class="tab-pane">
314 {% if total_machines == 0 %} 312 {% if total_machines == 0 %}
315 <div class="alert alert-info"> 313 <div class="alert alert-info">
316 <strong>There is no machine data for {{layerversion.layer.name}} ... yet</strong> <br /> 314 There is no machine information for the <strong>{{layerversion.layer.name}}</strong> layer.
317 Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you
318 here the machines it provides.
319 </div> 315 </div>
320 {% else %} 316 {% else %}
321 317