bitbake: 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.

(Bitbake rev: 40b46ce28b0b93241f9ce581f1e295e95bbff284)

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Belen Barros Pena 2015-03-22 19:17:31 +00:00 committed by Richard Purdie
parent 7c3bdebffe
commit 63510bf20d
1 changed files with 4 additions and 2 deletions

View File

@ -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 %}