]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toasterui: Improve messaging for empty layer details
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>
Sun, 22 Mar 2015 19:17:31 +0000 (19:17 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2015 22:54:37 +0000 (22:54 +0000)
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>
lib/toaster/toastergui/templates/layerdetails.html

index 67033b1e07d804d1c19034b498f6d0db43b9277f..11b1ffc2dc51104761b294c413f54be76e6f8372 100644 (file)
                 <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 %}
 
                 <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 %}