aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2015-03-22 19:17:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-24 22:54:37 +0000
commit40b46ce28b0b93241f9ce581f1e295e95bbff284 (patch)
tree8f7e5dac1db4361a8dadad1d53bbce0dfe64ffee
parent0bd81be04c88104d7d460f913d0500e5fa9755fe (diff)
downloadbitbake-40b46ce28b0b93241f9ce581f1e295e95bbff284.tar.gz
toasterui: Improve messaging for empty layer details
Explain that, if information is found during the build process, it will appear in the layer details page. Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
-rw-r--r--lib/toaster/toastergui/templates/layerdetails.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/templates/layerdetails.html b/lib/toaster/toastergui/templates/layerdetails.html
index 67033b1e0..11b1ffc2d 100644
--- a/lib/toaster/toastergui/templates/layerdetails.html
+++ b/lib/toaster/toastergui/templates/layerdetails.html
@@ -190,7 +190,8 @@
<div name="targets" id="targets" class="tab-pane">
{% if total_targets == 0 %}
<div class="alert alert-info">
- There is no target information for the <strong> {{layerversion.layer.name}} </strong> layer.
+ <p>Toaster does not have target information for the <strong> {{layerversion.layer.name}} </strong> layer.</p>
+ <p>Toaster learns about layers when you build them. If this layer provides any targets, they will be listed here after you build the <strong> {{layerversion.layer.name}} </strong> layer.</p>
</div>
{% else %}
@@ -324,7 +325,8 @@
<div name="machines" id="machines" class="tab-pane">
{% if total_machines == 0 %}
<div class="alert alert-info">
- There is no machine information for the <strong>{{layerversion.layer.name}}</strong> layer.
+ <p>Toaster does not have machine information for the <strong> {{layerversion.layer.name}} </strong> layer.</p>
+ <p>Toaster learns about layers when you build them. If this layer provides any machines, they will be listed here after you build the <strong> {{layerversion.layer.name}} </strong> layer.</p>
</div>
{% else %}